You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-space-router

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-space-router

Space router bindings for React.

0.6.4
latest
Source
npmnpm
Version published
Weekly downloads
756
-37.37%
Maintainers
1
Weekly downloads
 
Created
Source

react space router logo, a skeleton floating in space with a react logo for the head

React Space Router

Space Router bindings for React


React Space Router is a set of hooks and components for keeping your app in sync with the url and performing page navigations. A library built by and used at Humaans.

  • React hooks based
  • Nested routes
  • Async navigation middleware
  • Built in query string parser
  • Supports external stores for router state
  • Scrolls to top after navigation
  • Preserves cmd/ctrl/alt/shift click and mouse middle click

Why

"Perfection is achieved when there is nothing left to take away." React Space Router is built upon Space Router, a framework agnostic tiny core that handles url listening, route matching and navigation. React Space Router wraps that core into an idiomatic set of React components and hooks. The hope is you'll find React Space Router refreshingly simple compared to the existing alternatives, while still offering enough extensibility.

Install

$ npm install react-space-router

API

See the API Docs for more details.

Keywords

react

FAQs

Package last updated on 01 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts