Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
This is how you get started in testing your application
-
Let's be intentional about the open source community we want and work hard to build it.
-
User interface tests are famously finicky and prone to breakage.
-
How to get started using web workers for practical use cases
-
How to avoid state synchronization bugs and complexity with derived state.
-
How state colocation makes your app not only more maintainable but also faster.
-
How to use the React DevTools and React's profiling build to properly profile a production app
-
How to start optimizing your React app renders
-
A fun exercise to help understand the differences and use cases of these two related hooks
-
Making tests too short often leads to poor testing practices and way more tests.
-
There's no shortcut to experience, but there are things you can do to increase the impact of your time.
-
Let's explore some hook gotchas and how to avoid them.
-
Why using hooks like beforeEach as a mechanism for code reuse leads to unmaintainable tests and how to avoid it.
-
At what point does it make sense to break a single component into multiple components?
-
[Guillermo Rauch](https://x.com/rauchg) [tweeted](https://x.com/rauchg/status/807626710350839808) this a while back.
-
What's the difference between props and state in React?
-
How I apply the science of learning to help students retain what I teach them, and how I learn.
-
Without using React.memo, PureComponent, or shouldComponentUpdate
-
Maintainability through colocation
-
Performance optimizations ALWAYS come with a cost but do NOT always come with a benefit.
-
How your UI code has only two users, but the wrong tests can add a third
-
How to handle user authentication in modern React Applications with context and hooks
-
Practical advice to help you determine what to test.
-
How to apply the "Avoid Hasty Abstraction" principle to your test code.
-
So you want to get into programming?
-
What it is and how to add it to your app.
-
I've migrated from Medium to kentcdodds.com/blog...
-
How do compound components change with React hooks?
-
After years of teaching on the side, I've decided to take the plunge and go full-time as an educator!
-
I regularly find inaccessible forms.
-
An overview of what I've accomplished in 2018 and a bit about my goals for 2019.
-
React's upcoming useState hook relies on array destructuring, let's dive in and see how that feature works.
-
How can we prepare our tests for React's new hooks feature?
-
With the cool new stuff coming to React (Hooks/Suspense), what's going to happen to the context api?
-
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?
-
Learn about the massive improvements coming to function components in React via a fresh new course showing you how to refactor an existing...
-
What does gratitude have to do with software development?
-
Today let's talk about some common mistakes that people make when testing JavaScript applications.
-
Some common myths around testing and what the reality is...
-
What are you doing when you mock something, and when is it worth the cost?
-
That time I went too far with Test Driven Development and forgot a very important step
-
...yep, you read that right.
-
Some common struggles people have with testing, and things you can do to improve.
-
How to get from aimlessly testing or not testing at all to really understanding how and what to test.
-
Why I care about testing
-
Using React function components to render your website's skeleton index.html
-
People regularly ask me how I get so much done.
-
Some things you can do to gain a wider audience and get your stuff noticed
-
A simple trick to simplify your application and component state
-
Some specific things you can do as a conference attendee