Member-only story

High Performance and Stable React Applications

Nessim Btesh
6 min readJun 1, 2017

Updated: April, 2020

It’s been five years since I started working with React. I am now in my 6th production application using React. It has matured a lot and it's really stable and really fun to use. I started using React + Flux, then I moved to React + Redux, I am now in plain old React with a custom implementation of a memory store.

When I first started using React + Redux, I quickly came to realize that Redux wasn't scaling very well. It created a lot of complexity in my code that wasn't necessary. Long term, production bugs became really hard to pinpoint and I only had a couple of thousands of users.

When it came to my views, I did not want to end up like Airbnb. If you ever used the Airbnb web app you will notice how buggy and slow that applications is. From the way the app renders I can easily notice that they tried to render the route inside a template and that eventually became a disaster. If it were me, I will redo the entire web App.

My current users are really old school, old phones, old computers, and really outdated browsers so I needed to maximize rendering performance. After several iterations I eventually came up with mixing ES6 classes with templates.

It has a pre built template with 4 rendering methods. renderBody, renderHeader, renderFooter, and…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Responses (2)

Write a response

You can actually improve the perfomance of React quite a bit. In fact, this improvement was so good for me that it wasn't even registering when the component was re-rendering.

“quite a bit” does not tell much, do you have numbers?

Nice write-up... I would however take my chances with react on every project I work on and learn to optimize it better.
I really don’t feel comfortable to Angular. React made the thinking model behind their framework very easy for me, so I really don’t need to disturb myself with direction jargon that Angular offers

Recommended from Medium

Lists

See more recommendations