Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

From react-redux-universal-hot-example to universal-redux #15

Closed
oyeanuj opened this issue Dec 22, 2015 · 5 comments
Closed

From react-redux-universal-hot-example to universal-redux #15

oyeanuj opened this issue Dec 22, 2015 · 5 comments

Comments

@oyeanuj
Copy link

oyeanuj commented Dec 22, 2015

@bdefore I have been following your work on universal-redux and it looks great. I am glad this exists now.

I am wondering your thoughts or philosophy on how someone who is already underway on their project using react-redux-universal-hot-example boilerplate should think about the universal-redux package? Migrate or watch both?

In general, do you plan to merge back from changes in that react-redux-universal-hot-example repository.

@bdefore
Copy link
Owner

bdefore commented Dec 22, 2015

@oyeanuj thanks, glad to hear you're thinking about using universal-redux!

first, as for bringing changes into react-redux-universal-hot-example, i'm hoping that the collaborators on that repo see the value, and i have a series of PR's open:

there's a lot of change there, and @quicksnap has mentioned that he's going to explore it in a test project first. here's his comments on it: erikras/react-redux-universal-hot-example#685 (comment)

as for migrating your own app, it may or may not be complicated, depending on how much you've modified some parts of the original repo.

places that i can think of that need would need some consideration:

other than that, everything in your src/containers directory should stay where they are. you'll just need to create a config directory with a universal-redux.config.js as mentioned in the README.

you may find it easier to start with the branch of my PR (erikras/react-redux-universal-hot-example#730) and then drop your app into it. this assumes you'd want to update to babel 6 and redux-simple-router.

i'd definitely like to hear if you plan to do this, and would be happy to help.

@quicksnap
Copy link
Contributor

If you do try to migrate your app, I'm very interested in your experience as well. As mentioned, I'm going to try and test this out on another greenfield project, however it's been taking me a while to get to it.

I haven't heard a ton of feedback from anyone using it, but I would really love to hear how it's gone for others.

@oyeanuj
Copy link
Author

oyeanuj commented Dec 31, 2015

@bdefore @quicksnap I took another look at it, and I think it does make it easier to understand a lot of the data-fetching logic and the setup.

I would like to give it a shot, maybe once my project stabilizes a little bit. Hopefully, someone else can do it sooner and provide feedback. @bdefore, once it merges, would you expect people to send PRs to this library or just to the RRUHE and you would merge things back to this library?

As an aside, @bdefore, your comment above would be a really useful migration guide for that PR :)

@bdefore
Copy link
Owner

bdefore commented Dec 31, 2015

@oyeanuj i don't know that this will be merged to RRUHE, but whether or not it is a migration guide would definitely help. i'll elaborate further on the comment above and put it into a markdown doc in the repo.

@bdefore
Copy link
Owner

bdefore commented Dec 31, 2015

Let's continue this on #26

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants