Bookmarks (34) clear filters
-
-
useEffect vs useLayoutEffect
useEffect vs useLayoutEffect — According to Kent, 99% of the time you will want to use...
-
Stop mocking fetch
Stop Mocking fetch — Why you shouldn’t mock fetch or your API clients in your tests...
-
Common mistakes with React Testing Library
Common Mistakes with React Testing Library — As the creator of React Testing Library, Kent seems...
-
Stop using client-side route redirects
Stop Using Client-Side Route Redirects — To be honest, this might not be something you’re doing anyway.
-
How to test custom React hooks
How to Test Custom React Hooks — If you’ve begun writing your own custom hooks and...
-
React Production Performance Monitoring
React Production Performance Monitoring — Having users complaining about your app being slow ‘is not a...
-
Should I useState or useReducer?
Should I useState or useReducer? — Two built-in React hooks that handle state.. but which should...
-
Stop using isLoading booleans
Stop Using isLoading Booleans? — This is an opinion piece, and your opinion might legitimately differ,...
-
Make your own DevTools
Make Your Own DevTools? — How creating DevTools specific for your own app can be a...
-
Fix the "not wrapped in act(...)" warning
How to Fix "not wrapped in act(...)" Warnings — An issue you might be running into...
-
5 Tips to Help You Avoid React Hooks Pitfalls
5 Tips to Help You Avoid React Hooks Pitfalls — Explores some hook gotchas and how...
-
Don't call a React function component
Don't Call A React Function Component — A demonstration of the difference between React.createElement and calling...
-
Understanding React's key prop
Understanding React's key Prop — The key prop is a mechanism for controlling component instances. “I...
-
How to Enable React Concurrent Mode
How to Enable React Concurrent Mode — Concurrent Mode (as featured in last week’s issue) is...
-
Making your UI tests resilient to change
Making Your UI Tests Resilient to Change — An example of testing a login form using...
-
Don't Sync State. Derive It!
Don't Sync State, Derive It — Avoid synchronization bugs and hidden complexity by deriving (or calculating)...
-
State Colocation will make your React app faster
State Colocation Will Make Your React App Faster — This is all about the idea of...