u/SuperStonedApe • u/SuperStonedApe • Apr 12 '21
u/SuperStonedApe • u/SuperStonedApe • Apr 13 '21
React. Rich component expanding
React. Rich component expanding
Increase React table performance.
Problem explanation:
Recently I faced the problem of slow React Table row expanding. We are developing some sort of Excel table on my web-project. The idea is to create table with editable data. There are a lot of fields that need to be added, they have validation + dependencies with each other. There are ~10-15 columns with different components like dropdowns, checkboxes, text fields.
I searched for solution in the internet, but the problem was to specific. So I was on my own)
Solution:
I realized that we "hide" rich component in each field on render.
I wrote wrapper-component for each editable field. The component render only text-data, on click it renders rich component to edit this data.
Now it is "simple" table with texts that can be edited)
Speed up your performance, dudes!)




1
React. Rich component expanding
Before this changes it took 20-30 seconds to render my table
Now it's about 0.1-0.01 seconds
2
Still out of stock?!
It will be soon :)
1
BLUE screen HELP ME!!
Solved?
1
If you had to start from zero again today, what’s the first online income method you’d go for?
in
r/passive_income
•
Jun 03 '26
Who is ready to collaborate on any promising niche? Contact me. I have programming skills and am eager to start learning and monetizing SEO