{"library":"react-router-es3","title":"React Router (ES3)","description":"A complete routing library for React that keeps your UI in sync with the URL. Version 2.6.1-rc0 (JS-only release, no TypeScript types). Provides simple API with features like lazy code loading, dynamic route matching, and location transition handling. This package is an ES3-compatible fork of react-router v2, targeting older environments (e.g., IE8). Always use the official react-router package for modern development.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install react-router-es3"],"cli":null},"imports":["import { Router } from 'react-router-es3'","import { Route } from 'react-router-es3'","import { browserHistory } from 'react-router-es3'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import React from 'react';\nimport { render } from 'react-dom';\nimport { Router, Route, Link, browserHistory } from 'react-router-es3';\n\nconst Home = () => <h1>Home</h1>;\nconst About = () => <h1>About</h1>;\n\nrender(\n  <Router history={browserHistory}>\n    <Route path=\"/\" component={Home} />\n    <Route path=\"/about\" component={About} />\n  </Router>,\n  document.getElementById('root')\n);","lang":"javascript","description":"Basic setup with two routes using browserHistory.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}