3 ms·
I started using react-router recently and I felt that some things were missing (like passing props to routes). I hope this release Will improve the API. Thanks
by fibo 10y ago
I started using react-router recently and I felt that some things were missing (like passing props to routes).
I hope this release Will improve the API.
Thanks to all the devs that keep moving forward this wonderful ecosustem.
- scarlac 10y agoAs far as I can tell, that part hasn't changed. But you're free to pass a HOC (Higher-Order-Component), ie. <BrowserRouter> <Match pattern="/" component={() => <MyComponent someProp="yep" someOtherProp={myOtherGlobalVar}/>}/> </BrowserRouter>