How to use Redux in highly scalable JavaScript applications

Alexis Mangin:

I have recently worked on the first version of a React-Native mobile app for one of my clients, which desired to architecture the app in a scalable way for a painless experience to add new features later. I believe we should always think about app architecture that way as it can always scale up later on, and I think it is a great idea to show you how I managed it on the Redux side of things with a few examples of code. Be inspired and adapt it to your own need.

His technique revolves around grouping your code per feature, not per function. These features then get assembled by applying the concept of reducer composition:

[Each] feature’s reducer then gets used by its direct parent’s feature reducer or in the root reducer if it’s defined at the global level.

How to use Redux on highly scalable JavaScript applications? →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Join the Conversation

2 Comments

    1. Oh, thanks for the link! Great to see the link you posted also uses a Ducks-like structure.

Leave a comment

Leave a Reply to Bramus! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.