-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
A call for quality articles, examples, and resources #1014
Comments
The code cartoons, of course 😉
The docs 😜 |
Excluding the official docs. 📜 |
I found the conventions suggested in Ducks: Redux Reducer Bundles really useful the first time I was working on a project with many reducers which managed distinct sections of state. It helped tame what was about to become an explosion of modules in my project. |
When I first came across Redux I went straight to the documentation and the example code. I had completely skipped over the absolutely amazing Gist in the README. Whenever I tell people to take a look at Redux I point them to two places. First, the gist in the README, second the source code. At ~250 lines it's dead simple and paired with the README gist I don't know if there is much more anyone needs to understand how Redux works. After that your first talk is what got me really excited about how powerful such a simple library really is. |
Very nice high level overview intro: |
Full-Stack Redux Tutorial http://teropa.info/blog/2015/09/10/full-stack-redux-tutorial.html |
https://github.com/erikras/react-redux-universal-hot-example has been great for a more advanced boilerplate starting point. It moves very quickly, though, and we haven't implemented any real versioning on it. |
+1 on the teropa tutorial that @armendgashi mentioned. Also loved this one for understanding the fundamentals: https://github.com/happypoulp/redux-tutorial -- I wrote the "How I Fell in Love with a JS State Container" article, and this really cemented the concepts for me. I found these tutorials especially useful because the authors explain each step in excruciating detail, and place each step in context of the final application. When I'm learning something new, I feel like every line of code should be beaded with sweat. This is my preference. |
Themes and styles conventions with redux |
Sometimes it's essential to load reducers on demand. Would be awesome to add an example how to load and unload some reducers. |
There are a couple of boilerplates with |
I think some culling should be done to Awesome Redux before it becomes too big to be useful (like many Awesome lists). The Examples section is a mess and probably full of outdated, unmaintained, or even poorly written ones. I would argue you only need about 15 examples at most (even that's a stretch). The tutorial list should be looked over too, in case there's outdated ones. Also, the formatting could use some work. I think the Ecosystem list doesn't have "too little" links. It has more than enough, and adding additional ones should require more than someone linking their project (i.e. there should be some sort of approval). I am willing to help with the formatting for Awesome Redux, but I don't have enough Redux experience to make decisions on what to keep or delete. |
@sotojuan good idea! please create an issue on the awesome redux tracker for this and link to it here - I think the repo maintainer should know what to remove and what to keep 😄 |
I vet all links there. 😉 I'm only proposing people to share new stuff so I can review it in case I haven't seen it before!
I agree! @xgrommx What do you think? It might be a good idea to take a week to over the repos there, select the ones that are up-to-date and show different usage aspects, etc, and have higher quality. |
I like this article about server side rendering and redux: https://medium.com/@bananaoomarang/handcrafting-an-isomorphic-redux-application-with-love-40ada4468af4 (not my article) |
If you are open to the idea of including boilerplate starter projects for react-redux apps then apart from https://github.com/erikras/react-redux-universal-hot-example, I highly recommend https://github.com/davezuko/react-redux-starter-kit which is much more focused and straightforward. |
👍 for https://github.com/davezuko/react-redux-starter-kit To be honest nothing I've read has been as illuminating as the official docs and examples. Browsing through the issues has been helpful as well. |
Things that helped redux "click" for me:
|
Hey @gaearon, For React testing, I really really like Shallow Rendering. Its nice to not need a DOM - the tests run so fast! - and it forces me to keep my tests modular. There is an egghead.io course of video lessons on it: The course walks through setting up a React testing environment, using the Shallow Render to test component output, and breaking utility modules out into their files to test them separately. It also includes a few lessons on testing Flux/Redux. Some of the lessons are free, some require a subscription. Hope this is helpful :) |
@gaearon I have just published an article explaining why composition matters and how it can help us to better encapsulate our components. http://blog.javascripting.com/2016/02/02/encapsulation-in-redux/ My experience is that inexperienced people often tend to ignore the concept and sometimes simply abuse the global app state, which leads to an unnecessarily complex application logic. You might consider adding this to Redux docs as a reference to composition. |
Refs reduxjs/react-redux#278 re: encapsulation. |
This is really great: |
Great explanation of middleware |
This is a good series: https://shellmonger.com/2016/02/16/an-introduction-to-react-redux-part-1/ |
I took Cory House course on React-Redux and es6, made redux click for me. |
We've got a (few!) awesome lists going. I think this is covered now! But please keep the good stuff coming! |
We have some in Ecosystem, but too little.
We have some in Awesome Redux, but too many.
What are your favorite Redux articles, examples, and resources? Something that shed a light on a practical issue? Helped Redux “click” for you? Provided you the most value? Why are these resources your favorite ones? What's special about them?
Please share your findings and/or promote your work. 😉
Thank you for your input!
The text was updated successfully, but these errors were encountered: