Hey Hashnode community, 👋
I am Kent C. Dodds. I'm a software engineer and teacher. I've written code for More Good Foundation, The Church of Jesus Christ of Latter-day Saints, USAA, Domo, Parakeet, Workfront, Alianza, PayPal, and my open source code has been used by millions of people all over the globe.
I now work for myself full-time as an educator. I create content all about Web Development on various platforms including: egghead.io, Frontend Masters, YouTube, Twitter, and my own sites like TestingJavaScript.com 🏆
Ask me about:
I will start answering your questions live on Tuesday, 11th Feb, 9 AM PT / 12 PM ET / 5 PM GMT.

Blaine Garrett
Software Engineer and Artist
At this point I'll take any functioning + sane adult in the Whitehouse, but if I had to pick today I would probably go with Elizabeth Warren or Bernie Sanders. I find it interesting that you've so outspokenly endorsed Yang, who seems like such a fringe candidate to me. So, what's your pitch for Andrew Yang? What differentiates him from other candidates in ways that makes him a better pick, in your opinion?
why would you choose to write a codemod in babel over something like jscodeshift? Do you think babel has a better api?
Hi Kent. Do you have any plans with Vue, either content or live stream?
Watching you jump in and work through things in React is very helpful for someone sticking their toe in the water, and I'm sure myself and others would love to see the same in Vue.
Hey KENT!
Hope you are doing good :)
My question: Should a company (mid size) be making it’s own framework (on top of a library, say React)? Will making abstractions help?
thanks.
Re-iterating on a similar question - If I do have the time and the cost to spend on writing e2e tests, do I still need unit or even integration tests? Assuming it's a small application and writing e2e tests would not take us too much of time.
Do you think everyone should learn to code? In other words, should kids be encouraged to learn programming early?
What's the one thing about you which people don't believe easily? 😉
What are you opinions on monolith repos vs having concise separate repos? For example: component libraries consumed by multiple isolated front end apps that need to maintain versioning, etc?
I've been a long time fan of the later, but local front-end development feels harder now after React Hooks where the same instance of React needs to be npm linked to avoid errors. Related, what are your opinions on yarn workspaces and learna?
What are some developer tools that you can't live without?
What have you learned as a developer, educator, entrepreneur, etc... that has helped you be a better father / husband? And vice versa?
What is your mental model around passing props inside super in a constructor? I do understand why but not enough to explain it to an absolute beginner. This question is inspired from Dan's "Just JavaScript" series.
Hi Kent,
I'm a big fan of yours and will be attending your React Suspense workshop at Reactathon SF this year!
I was wondering how you decide what UI components to test? Currently, the project that i'm working on has almost a 1:1 component : test file mapping, where each file is enzyme shallow mounted and unit tested in its separate test file.
To avoid testing implementation details, one of the first pieces of advice you give is to fully mount your components instead of shallow mounting them. However, if I do this in all my test the way they are currently structured, it seems we test many components multiple times in a way that feels redundant.
I was wondering if this redundancy is actually okay, and if not, how you decided what components to test in what way?
Hi Kent,
Imagine you have the following two job offers with 2 years of Backend experience, which one would you choose? And why?
Offer 1: High pay scale, great office, excellent employee benefits, MNC, not sure about the work challenges and projects.
Offer 2: Pay scale less than expected, challenging startup, few employees, and interesting projects.
What things you considered before going solo? Or rephrasing it. What were the things one should take care first before going a solo consultant?
How do ensure deliberate practice when it comes to code practice.
Hey Kent! Much appreciation for everything you've done for the community. I love your testing course. With regards to creating tutorials, what's your advice for
1) identifying the concepts people struggle to understand the most (without a big following yet),
2) creating the most effective way to explain the concept, and
3) exploring business models to facilitate being a full time educator like yourself?
Bonus question: I'm more interested in teaching people than actually writing code for a company, but I feel like I need to "do my time" in order to establish credibility and know what I'm talking about. What's your advice here? :)
Thanks again! Josh
Hi Kent, I am looking for a change from PHP to some other trending technologies. I have started studying Go programming. Am I going through the right path to have a better career?
Hi Kent, I have tweeted this question: How to deal with testing UI components where styles have to be verified? I'm completely against checking classes of a DOM node. Would you recommend checking styles instead?
Say a button component is to be tested. Like bootstrap, lets say, there are N variants of button based on the props passed viz. primary, alert, info... How about testing this? Can you please more insights on this?
What is a good way to distinguish myself as a coder from the hundreds of other boot campers and college graduates?
Hey Kent,
What would be your general advice for improving the performance of a Node app? Are there any patterns/antipatterns that come to your mind?
Hi Kent! What advice would you give to improve the quality of blogs? Any advice in choosing the topics to write about, the structure of the article, or how to make it easier for beginners.
Austin Roy
Hey Kent,
What led you to decide to make the move from full time development to become a full time educator? And what advice would you have for someone considering making a similar move in the future?