Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. This is how you get started in testing your application

  2. Let's be intentional about the open source community we want and work hard to build it.

  3. User interface tests are famously finicky and prone to breakage.

  4. Speed up your App with Web Workers

    How to get started using web workers for practical use cases

  5. Don't Sync State. Derive It!

    How to avoid state synchronization bugs and complexity with derived state.

  6. How state colocation makes your app not only more maintainable but also faster.

  7. How to use the React DevTools and React's profiling build to properly profile a production app

  8. How to start optimizing your React app renders

  9. A fun exercise to help understand the differences and use cases of these two related hooks

  10. Write fewer, longer tests

    Making tests too short often leads to poor testing practices and way more tests.

  11. There's no shortcut to experience, but there are things you can do to increase the impact of your time.

  12. Let's explore some hook gotchas and how to avoid them.

  13. Avoid Nesting when you're Testing

    Why using hooks like beforeEach as a mechanism for code reuse leads to unmaintainable tests and how to avoid it.

  14. At what point does it make sense to break a single component into multiple components?

  15. [Guillermo Rauch](https://x.com/rauchg) [tweeted](https://x.com/rauchg/status/807626710350839808) this a while back.

  16. React Fundamentals: Props vs State

    What's the difference between props and state in React?

  17. How I Teach

    How I apply the science of learning to help students retain what I teach them, and how I learn.

  18. Without using React.memo, PureComponent, or shouldComponentUpdate

  19. Colocation

    Maintainability through colocation

  20. When to useMemo and useCallback

    Performance optimizations ALWAYS come with a cost but do NOT always come with a benefit.

  21. Avoid the Test User

    How your UI code has only two users, but the wrong tests can add a third

  22. How to handle user authentication in modern React Applications with context and hooks

  23. How to know what to test

    Practical advice to help you determine what to test.

  24. AHA Testing 💡

    How to apply the "Avoid Hasty Abstraction" principle to your test code.

  25. So you want to get into programming?

  26. How to Enable React Strict Mode

    What it is and how to add it to your app.

  27. Goodbye Medium

    I've migrated from Medium to kentcdodds.com/blog...

  28. React Hooks: Compound Components

    How do compound components change with React hooks?

  29. After years of teaching on the side, I've decided to take the plunge and go full-time as an educator!

  30. I regularly find inaccessible forms.

  31. 2018 in Review

    An overview of what I've accomplished in 2018 and a bit about my goals for 2019.

  32. React's upcoming useState hook relies on array destructuring, let's dive in and see how that feature works.

  33. How can we prepare our tests for React's new hooks feature?

  34. With the cool new stuff coming to React (Hooks/Suspense), what's going to happen to the context api?

  35. What am I going to do with all these render props components now that react hooks solve the code reuse problem better than render props ever did?

  36. Learn about the massive improvements coming to function components in React via a fresh new course showing you how to refactor an existing...

  37. What does gratitude have to do with software development?

  38. Common Testing Mistakes

    Today let's talk about some common mistakes that people make when testing JavaScript applications.

  39. UI Testing Myths

    Some common myths around testing and what the reality is...

  40. The Merits of Mocking

    What are you doing when you mock something, and when is it worth the cost?

  41. The time I messed up

    That time I went too far with Test Driven Development and forgot a very important step

  42. React is an implementation detail

    ...yep, you read that right.

  43. Why you've been bad about testing

    Some common struggles people have with testing, and things you can do to improve.

  44. Demystifying Testing

    How to get from aimlessly testing or not testing at all to really understanding how and what to test.

  45. Confidently Shipping Code

    Why I care about testing

  46. Using React function components to render your website's skeleton index.html

  47. How I am so productive

    People regularly ask me how I get so much done.

  48. Some things you can do to gain a wider audience and get your stuff noticed

  49. Make Impossible States Impossible

    A simple trick to simplify your application and component state

  50. Some specific things you can do as a conference attendee