paint-brush
Replacing Redux with ReactN to reduce complexity and bundle sizeby@CharlesStover
2,935 reads
2,935 reads

Replacing Redux with ReactN to reduce complexity and bundle size

by Charles Stover5mFebruary 4th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Following my article on <a href="https://itnext.io/no-boilerplate-global-state-management-in-react-b7d181167787" target="_blank">an intuitive, boilerplate-free global state solution for React</a>, I decided to put real data behind the concept. I started with a bare-bones example of a React application that harnesses Redux for global state management, and I converted it to ReactN. During this process, I measured objective changes in memory allocation and bundle size. A thorough analysis and source code is provided <a href="https://github.com/charlesStover/reactn-vs-redux" target="_blank">on GitHub</a>, but I will summarize here, as well as walk through how easy a conversion is and how much simpler the refactored code becomes.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Replacing Redux with ReactN to reduce complexity and bundle size
Charles Stover HackerNoon profile picture
Charles Stover

Charles Stover

@CharlesStover

https://charlesstover.com

Learn More
LEARN MORE ABOUT @CHARLESSTOVER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Charles Stover HackerNoon profile picture
Charles Stover@CharlesStover
https://charlesstover.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider