loading...
Kent C. Dodds profile picture

Kent C. Dodds

My name is Kent C. Dodds and I'm a JavaScript engineer and teacher. I'm also active in the open source community. I like my family, JavaScript, and React.

Education

Masters in Information Systems

Work

Software Engineer at Kent C. Dodds Tech LLC

All 44 Comments

re: Concrete example for React.useImperativeHandle
Hey Yoav! I'm not sure you needed to use useImperativeHandle ...
re: 🎙 Introducing the new "Chats with Kent" podcast! 🎉
Coming in the next few hours I think!
re: 🎙 Introducing the new "Chats with Kent" podcast! 🎉
I loved that podcast. Maybe I'll start it up again one day.
re: Testing API calls
And finally, you may like to do this for your assertion: ...
re: Testing API calls
Oh, also, you can improve this as well: let userList = aw...
re: Testing API calls
Sweet! You can get rid of the loader test ID by using getB...
re: Testing a simple React component
This is great! One tip: Try to avoid data-testid and *ByTes...
re: Front-end productivity boost: Cypress as your main development browser
This is great! I talk about it in TestingJavaScript.com and I...
re: What do you think of React Testing Library?
Yes
re: What's hard about React Hooks for you?
Watch the video on the first page of the hooks docs: reactj...
re: What's hard about React Hooks for you?
I expect that classes will eventually be extracted to a sep...
re: What's hard about React Hooks for you?
I think the simplest solution to this problem is to Lift St...
re: Read the React Hooks docs (again)
Hi!
re: What's hard about React Hooks for you?
Oh man, have I got good news for you: testing-library.com/d...
re: What's hard about React Hooks for you?
Have you seen this yet? kentcdodds.com/blog/useeffect-vs-u....
re: What's hard about React Hooks for you?
Definitely don't ignore eslint here. 99% if the time if you...
re: What do you think of React Testing Library?
I recently updated the repo to link to this: testing-librar...
re: What do you think of React Testing Library?
Interesting. Are you saying that's a good thing, a bad thin...
re: What's hard about React Hooks for you?
Interesting. Could you clarify what you mean?
re: What's hard about React Hooks for you?
This is very true
re: What do you think of React Testing Library?
Sweet! Let me know who you are! Looking forward to meeting ...
re: What's hard about React Hooks for you?
Could you clarify what you mean by "instances?"
re: What do you think of React Testing Library?
for components there are really two people that need to be...
re: What do you think of React Testing Library?
I should write about this. People who complain that tests b...
re: What do you think of React Testing Library?
I use the word "enable"
re: What do you think of React Testing Library?
Should I do it with a test project first to get into it? ...
re: What do you think of React Testing Library?
With JSDOM, you can't measure layout, but you can verify th...
re: What do you think of React Testing Library?
I love the ideology behind RTL... I love the updates... ...
re: What do you think of React Testing Library?
Shallow rendering (kcd.im/shallow) Anything that allows yo...
re: Read the React Hooks docs (again)
I'm working on the resources bit on my blog 😄
re: What do you think of React Testing Library?
Yes, though they're not simultated events. They're actual e...
re: What do you think of React Testing Library?
Yep, that's what I'd recommend. You could also use the styl...
re: What do you think of React Testing Library?
Done! Thanks folks!
re: Read the React Hooks docs (again)
Yeah! The linter is crazy helpful!
re: What do you think of React Testing Library?
My blog has tons of stuff. Search for "testing". Also, Test...
re: What do you think of React Testing Library?
I'll start. I love it! It enables me to write tests that re...
re: The Babel Podcast
I loved it! I've heard the history of babel before (and lov...
re: Read the React Hooks docs (again)
I learned that callback refs are best for measuring DOM nod...
loading...