paint-brush
Cache your React event listeners to improve performance.by@CharlesStover
4,626 reads
4,626 reads

Cache your React event listeners to improve performance.

by Charles Stover6mDecember 24th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

An under-appreciated concept in JavaScript is how objects and functions are <em>references</em>, and that directly impacts React performance. If you were to create two functions that are completely identical, they are still not equal. Try for yourself:

Company Mentioned

Mention Thumbnail
featured image - Cache your React event listeners to improve performance.
Charles Stover HackerNoon profile picture
Charles Stover

Charles Stover

@CharlesStover

https://charlesstover.com

Learn More
LEARN MORE ABOUT @CHARLESSTOVER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Charles Stover HackerNoon profile picture
Charles Stover@CharlesStover
https://charlesstover.com

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite