P
P
Persotr272021-06-28 17:39:54
React
Persotr27, 2021-06-28 17:39:54

What happens if you don't apply optimization in React?

Good afternoon!

This question is of interest. React provides a bunch of little things to optimize, like memo, useCallback, shouldComponentUpdate, keys, etc. And what do they optimize, and what are the consequences of neglecting them? Is it possible to write a relatively healthy, normally functioning application without using these tools, or will it freeze?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2021-06-28
@Persotr27

It will slow down. However, if applied inappropriately, it will also be. Where is in place, and where is not? And only v8 knows. You have to be a human compiler to optimize React.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question