npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@designli/refine-react-navigation

v0.0.2

Published

> ⚛️ A Routing Provider for integrating **React Navigation** with the **Refine** ecosystem.

Readme

refine-react-navigation

⚛️ A Routing Provider for integrating React Navigation with the Refine ecosystem.

⚠️ Important

This library is under construction!

✨ Overview

refine-react-navigation provides seamless integration between React Navigation and Refine by implementing a custom Routing Provider compatible with Refine’s routing system.

This package enables you to use React Navigation in your Refine-based mobile applications, preserving full control over navigation logic while adhering to Refine’s conventions.

🚀 Features

  • ✅ Routing Provider object to plug into Refine's <Refine /> component
  • NavigationProvider component to connect React Navigation's ref with Refine’s router
  • ✅ Out-of-the-box support for navigation, redirection, and route parsing
  • ✅ Fully type-safe with TypeScript

📦 Installation

npm install @designli/refine-react-navigation
# or
yarn add @designli/refine-react-navigation

Make sure you also have @react-navigation/native and its dependencies installed, as this library builds on top of React Navigation.

🧠 How It Works

This package exposes:

  • routerProvider: A Routing Provider object conforming to Refine's expected interface.
  • <NavigationProvider>: A React component that internally manages the React Navigation reference (navigationRef) and connects it with Refine's router provider system.

These components allow your Refine app to navigate using React Navigation while still supporting hooks like useNavigation, useGo, and useLink in a Refine-compatible way.


🔧 Usage

1. Setup React Navigation

Set up your navigation container as usual in your app:

import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';

const Stack = createNativeStackNavigator();

export const AppNavigator = () => (
  <Stack.Navigator>
    <Stack.Screen name="home" component={HomeScreen} />
    <Stack.Screen name="details" component={DetailsScreen} />
  </Stack.Navigator>
);

2. Wrap with NavigationProvider and pass to Refine

import { Refine } from '@refinedev/core';
import {
  NavigationProvider,
  routerProvider,
} from '@designli/refine-react-navigation';
import { AppNavigator } from './AppNavigator';

export default function App() {
  return (
    <NavigationProvider>
      <Refine routerProvider={routerProvider}>
        <AppNavigator />
      </Refine>
    </NavigationProvider>
  );
}

3. Use Refine's routing hooks as usual

import { useGo } from '@refinedev/core';
import { Button } from 'react-native';

const MyComponent = () => {
  const go = useGo();

  return (
    <Button
      title="Go to Details"
      onPress={() => go({ to: '/details', type: 'push' })}
    />
  );
};

✅ Navigation actions are synced and handled using React Navigation’s internal reference.


🛠 API Reference

NavigationProvider

Wraps your app and exposes a navigation ref to enable Refine-compatible navigation.

Props: none (yet)

RouterProvider

An object implementing Refine’s RouterProvider interface, wired up to React Navigation’s API.

Use it in <Refine routerProvider={RouterProvider} />.


📅 Roadmap & Ideas

We're actively improving this integration! Here are some future goals and areas where contributions are welcome:

  • [ ] Support deep linking & route parsing
  • [ ] Add support for stack, tab, and drawer navigators
  • [ ] Handle modals and custom transitions
  • [ ] Provide helper functions for linking & path generation
  • [ ] Full test coverage with Jest & E2E tests
  • [ ] Type-safe route configuration builder
  • [ ] Storybook examples for common use cases

🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to open an issue or submit a pull request.

Development Setup

# Install dependencies
pnpm install

# Build the library
pnpm build

# Run tests
pnpm test

🪪 License

MIT © Desginli