1.0.5 • Published 7 years ago

@remshams/react-context-router v1.0.5

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
7 years ago

React Router

React Router based on the new Context API

Features

  • Nested Routes
  • Param pathing

Installation

npm install react-context-router --save
yarn add react-context-router

Usage

const Child = () => (
  <div>Child</div>
);

const Parent = () => (
  <Route path="child" Component={Child}/>
);


const App = () => {

  return (
    <>
      <Router>
        <Route path="parent" Component={Parent}/>
      </Router>
    </>
  );
};
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago