{"repo":"STRML/react-router-component","free":true,"listed":false,"github":"https://github.com/STRML/react-router-component","clone":"git clone https://github.com/STRML/react-router-component.git","description":"Declarative router component for React.","language":"JavaScript","stars":868,"topics":["react","routing","router"],"license":"MIT","category":"ui-components","readme_excerpt":"React Router Component Version Compatibility --------------- -------------- = 0.39.0 React v15,16 = 0.32.0 React v15 = 0.27.0 React 0.14 0.24 - 0.26.0 React 0.13 0.23 - 0.26.0 React 0.12 0.20 - 0.22.2 React 0.11 Having routes defined as a part of your component hierarchy allows to dynamically reconfigure routing based on your application state. For example you can return a different set of allowed locations for anonymous and signed-in users. React router component can dispatch based on location.pathname or location.hash if browser doesn't support History API (see [hash routing][hash-routing]). Props can be passed through the router by setting them directly on each , or to all possible routes via a childProps hash. Furthermore it provides advanced features like support for [regex matching][regex], [full page server side rendering][server-side], [multiple routers][multiple] on the same page, [querystring parsing][querystring], and [contextual routers][contextual]. Its functionality is tested using [Saucelabs][] on all modern browsers (IE = 9, Chrome = 27, Firefox = 25, Safari = 6 and Mobile Safari on iPhone and iPad = 6). Its size is about 3.5kb gzipped. Installation React router component is packaged on npm: % npm install react-router-component Docs [Overview and Usage][docs] [Implementation Visualization][implementation] [Hash Routing][hash-routing] [Parsing Query Strings][querystring] [Server-side Rendering][server-side] [Multiple Routers][multiple] [Contextual Routers][cont","default_branch":null,"files":null,"tree":[],"storefront":"/r/STRML","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/STRML/react-router-component/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}