3 ms·
React won't update the DOM when render returns the same result but if you can avoid those unnecessary render calls you save some scripting time. Front-end devel
by msoad 9y ago
React won't update the DOM when render returns the same result but if you can avoid those unnecessary render calls you save some scripting time. Front-end developers have to be very conservative when it comes to running JS code. Welcome to single threaded everything programming!