Nov 2019
11 Mon
12 Tue
13 Wed
14 Thu
15 Fri
16 Sat 08:55 AM – 05:20 PM IST
17 Sun
Nov 2019
11 Mon
12 Tue
13 Wed
14 Thu
15 Fri
16 Sat 08:55 AM – 05:20 PM IST
17 Sun
Shivam Kantival
Redux solves many data handling problem which were hard to think before. But as your application grows, it is hard to manage store at scale. This talk is about our experience of how we solved these problems in our current organization.
We achieved these benefits with our proposed solution:
KeyTakeaways:
For any modern stack that revolves around React/Vue/Elm or likewise libraries, we usually go ahead and use Redux for state management. It works well, it’s just aesthetics may always be improved. What we try to cover here is how to build your store architecture around Redux so that for every part of the state you need to define, you don’t have to create a reducer from scratch. Instead how about just providing the config and something else do the magic for you ;)
At Mindtickle we use a common Redux store across multiple applications. It has done good at easing our lives, and that we think is worth sharing with the community.
We got to a state to get reducers created by just providing corresponding config. This enables us to write just one reducer generator throughout the application. For every reducer needed in the application, developer just needs to provide a config and the rest is automatically taken care of. How this helps with above issues-
For every part of state doing the same thing, logic need not be repeated in reducers for corresponding states.
Handling scoped states becomes a breeze, as it is just another config. Have the same method of handling scoped state also enables us to standardise read and manipulation operations over the same.
Basic understanding of Redux.
Just a curious spacial object who’s been exposed to JavaScript for 2 years. Currently working full-time with Mindtickle (Pune).
https://docs.google.com/presentation/d/1NJdRrCSgBwXHNqwZGylghQkW3tWG56Oo9ZfhNy9mWA8/edit?usp=sharing
Nov 2019
11 Mon
12 Tue
13 Wed
14 Thu
15 Fri
16 Sat 08:55 AM – 05:20 PM IST
17 Sun
Hosted by
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}