Answer the question
In order to leave comments, you need to log in
Does it make sense to use the "babel-plugin-transform-react-constant-elements" plugin for webpack/reactJS?
As I understand from this site, https://babeljs.io/docs/plugins/transform-react-co... improves development performance.
I don't quite understand what the benefits are. Thank you.
Answer the question
In order to leave comments, you need to log in
Well, as I understand from the description, the thing will be useful if the project has a lot of so-called. "constant" elements that do not change during the entire life cycle. This allows you to increase performance during re-rendering: a new element will not be created each time, but the one already created by reference will simply be returned - it will still be the same.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question