Code Ryan
Today I cover debouncing network requests in your React/Next.js apps -- but this concept applies more broadly. TLDR; it sometimes makes sense to only trigger a network request once the user has stopped interacting for a certain amount of time
info_outlineCode Ryan
Finally Understand props.children In React.js
info_outlineCode Ryan
info_outlineCode Ryan
info_outlineCode Ryan
3 JavaScript Features You Need To Know For React
info_outlineCode Ryan
Learn how revalidation works in your fetch requests in Next.js
info_outlineCode Ryan
info_outlineCode Ryan
info_outlineCode Ryan
info_outlineCode Ryan
Learn how to handle uncaught errors in your Next.js apps!
info_outlineTLDR; don't mutate state directly. Always use setState when updating a piece of state. Also, pass a function when updating state based on previous state.