The downsides of ReactJS
Now that you have a good handle on the benefits of using ReactJS as the view layer in a Flux architecture, it's time to look at some of the downsides. Everything has negative tradeoffs—there's no such thing as a perfect technology. So these things are worth considering in the context of a Flux architecture for your application.
First, we'll consider memory consumption. React is a fairly big library and has a noticeable impact on application load time. However, this is of minor concern compared to the amount of memory consumed by the virtual DOM. Next, we'll look at introducing JSX syntax into our JavaScript modules and the problems that might introduce for those not accustomed to blending other languages into their JavaScript ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access