-
Notifications
You must be signed in to change notification settings - Fork 113
Fragments can't access this.context #191
Comments
NPM's stored package is broke? I built & tested dist-min, dist-dev, lib and was able to get demo running fine, bar this unrelated warning from build-dist-min:
|
Yes, NPM's package is broken. I have manually compiled it in my project and it solved the problem... |
I am running into a similar issue with |
@EmrysMyrddin or @justrossthings how does one manually compile the npm package? 😅 |
I believe the problem is that you are reading masters documentation but using the released version 13.2.0. You can see the documentation at https://github.com/FormidableLabs/redux-little-router/tree/v13.2.0. Specifically, I needed to wrap my app in <Provider store={store}>
+ <RouterProvider store={store}>
<MyApp />
+ </RouterProvider>
</Provider> |
@therealpineda @tomciopp you can pull the redux-little-router (RLR) repo then run @shepmaster I thought 13.2 had removed RouterProvider? |
@justrossthings looking at the README for 13.2.0 I linked to, there's an entire section describing |
I merged README updates for an unreleased PR 🤦♂️ I'll cut a release with the updates (which does remove RouterProvider) |
@tptee can you publish 14.0.0 to npm as well? In the meantime I can confirm that @shepmaster's snippet about using
|
Getting the documentation in sync would be nice, I banged my head against my computer for a day or two before finding this. I also think having things crucial to initial setup like the |
Sorry about the delay, |
never thanked you all. im getting around to using this again in a project soon and very grateful for your help and work here 👍 👍 👍 ❤️ @tptee @shepmaster @justrossthings @elisechant |
Steps to reproduce
npm install -S redux-little-router
demo/client/demo.js:6
. change this line:import { Link, Fragment } from '../../src';
to:import { Link, Fragment } from 'redux-little-router;
This error is visible in the console:
The text was updated successfully, but these errors were encountered: