Kent C. Dodds 2021-03-01

How to optimize your context value

Read Original

This article explains when and how to optimize React context value to prevent unnecessary re-renders. It recommends separating state and dispatch functions into different context providers as a performance solution, but strongly cautions against optimization unless specific performance problems have been measured.

How to optimize your context value

kommentarer

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet