The story of redux-logic, a new approach to organizing business logic with Redux - Nodevember Conf Video 2016
Like many of you, I was searching for the best way to build my JavaScript applications. How do I structure my code properly so my app can grow without being boxed in? I started experimenting to find the best approach to use for my Redux apps. There seemed to be a good sized gap between my ideal goals and the way others were doing things.
Was I doing things wrong or just misunderstanding the ideas? I explored further by reading blog articles, questions and answer forums, github issues trying to gain all the knowledge I could. It seemed like I was still missing something. The solutions people were leading me to were either lacking in capabilities or the resulting code was much too complex for my liking.
I wanted things to be simple and straight-forward so that any of my teammates could easily pick things up, understand, and be comfortable working with it. How could these solutions be the recommended ways to structure my code? Is there a better way?
After finally grasping the essence of what I was looking for and taking inspiration from existing projects, I set out to build that small focused library. I wanted to see if it might be possible. It seemed reasonable on paper, but would it work? I share all the highlights of my journey and explain the simple inner workings of redux-logic. Everyone who attends will come out with a better understanding of business logic and how to apply it in Redux.
Video
Watch HD video on YouTube (Use HD setting for best clarity)
Slides / Examples
Here are the slides and also some examples I discussed
- Slides for “The story of redux-logic” - PDF
- Main usage example
- Notifications example
- Async/Await and processOptions example
- Search with cancellation and debouncing example
- JSFiddle live examples
- Full examples
Links
Meta Information
- Author: Jeff Barczewski
- Published: November 20th, 2016
- Tags: javascript, redux,redux-logic,business,logic,logic
- Updated: December 1st, 2016