-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example of implementation #4
Comments
I'm going to work on the md showing up and I'll repost. Sorry for the ugliness. |
@dougsmith1000 I haven't tested this in RRv4 but happy to look at an example repo or something to see how it might work. Maybe you can push up a repo that I can pull down and try it out on? |
@tizmagik It works in RR4. Was using this for a while on another project |
Ah great, thanks @jaredpalmer ! Curious how you're finding the lib so far? |
This is a great lib, especially when paired with recompose. I no longer use Redux, but when I did this was my preferred way to go about SSR data. |
Hi @tizmagik, sorry for the silence. I was working on somethiing else for awhile and never got back to this. I cleaned up the markup above and am still curious if you can help me out on it. The error I get is around syncHistory, hence my question about it being absent from RRv4 and taxi's compatibility. I'm glad to hear that jaredpalmer has it working though. This library looks exactly like what I'm looking for for my project. Thanks again! PS, today or later this week, I'll create a sample repo of my project structure if you're able to look into it. |
Sounds good @dougsmith1000 -- maybe @jaredpalmer could lend a hand as well 😁 |
Happy to review |
Hi Jeremy, could you post a version of this with a working example? The project I'm building is using React Router v4, which doesn't seem have syncHistory as a working function. I think I almost have this hooked up, but am getting caught up on the middleware when creating my store. I've posted an example below that forces the use of your taxi middleware regardless of environment.
I'm also getting an empty value when I instantiate ReduxTaxi(). Because I handle a universal js implementation a little differently, I'm trying to pass the reduxTaxi object around to different files without completely understanding what I am passing. These errors are in both my development and production environments. Please take a look if you get a chance. Thank you!
Here's the code - used from several boilerplates that I've modified to do what I want:
ssr.js:
Html.js:
createstore.js:
The text was updated successfully, but these errors were encountered: