profile
viewpoint
Kent C. Dodds kentcdodds @kentcdodds Salt Lake City, Utah, USA https://kentcdodds.com Making people's lives better with software · Husband, Father, Latter-day Saint, Teacher, OSS, GDE · testingjavascript.com

downshift-js/downshift 7923

🏎 Primitive to build simple, flexible, WAI-ARIA compliant enhanced input React components

jaredpalmer/tsdx 4196

Zero-config CLI for TypeScript package development

istanbuljs/nyc 4015

the Istanbul command line interface

all-contributors/all-contributors 3794

✨ Recognize all contributors, not just the ones who push code ✨

jaredpalmer/awesome-react-render-props 1269

Awesome list of React components with render props

c8r/kit 1187

Tools for developing, documenting, and testing React component libraries

kentcdodds/advanced-react-patterns-v1 1104

The course material for my advanced react patterns course on Egghead.io

conventional-changelog-archived-repos/validate-commit-msg 509

DEPRECATED. Use https://github.com/marionebl/commitlint instead. githook to validate commit messages are up to standard

kentcdodds/advanced-react-patterns 382

This is the latest advanced react patterns workshop

kentcdodds/advanced-react-hooks 378

Learn Advanced React Hooks workshop

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 059471311f6795a9e49af8fdc104b4eadf96d661

fix ssr again

view details

push time in an hour

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha a37e8ab46936665100921b1a499a50071b7df01c

fix ssr

view details

push time in an hour

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha fa10de4124cdd80ffde0799e4ff0333f74af8209

add onServiceWorkerReady thing

view details

push time in 2 hours

push eventkentcdodds/app-dev-tools

Kent C. Dodds

commit sha 8d3838e829edae804b5d7e45d4ab7336e880f82f

add link to blog post and video

view details

push time in 2 hours

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 7dd05145b844da137ebed7807ca5e4c3554c671d

app dev tools

view details

push time in 2 hours

create barnchkentcdodds/app-dev-tools

branch : egghead-vid

created branch time in 3 hours

push eventkentcdodds/app-dev-tools

Kent C. Dodds

commit sha 027e5686e30b7b2e6230bb5dbd12ca1f56ac2649

slightly improve things

view details

push time in 4 hours

push eventkentcdodds/app-dev-tools

Kent C. Dodds

commit sha 04b02b090413d7349ce9e1a393c08b3668f111c4

add stuff to home page

view details

push time in 5 hours

create barnchkentcdodds/app-dev-tools

branch : master

created branch time in 5 hours

created repositorykentcdodds/app-dev-tools

created time in 5 hours

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 1033d32c0c8dd63acb9476e2403a1dc8ad795d16

move embedder-transformers

view details

Kent C. Dodds

commit sha f3144ff492de2d6c10c572219c6d143aa8cb39ef

Remove rss references. Closes #384

view details

push time in 9 hours

issue closedkentcdodds/kentcdodds.com

RSS link points to nowhere

hi, the rss link on https://kentcdodds.com/ points to https://kentcdodds.com/blog/rss.xml which returns a 404.

closed time in 9 hours

rethab

issue commentkentcdodds/kentcdodds.com

RSS link points to nowhere

Ah, yeah, I removed it but forgot to remove those references. Thanks!

rethab

comment created time in 9 hours

issue closedkentcdodds/ama

How did you start streaming on youtube?

<!-- Please make sure to search existing questions to see whether I've answered your question already --> First of all, I want to congratulate you for the great work and videos that you make. Then, I want to ask you and I hope that my question is not a duplicate: How was your experience at the beginning when you started streaming and making videos online? Are there any person that encouraged you or inspired you to make like him? What are the tips that you can give for anyone wants to make his own youtube channel and making videos? Thanks and hope that you will see my question.

closed time in 9 hours

slim-hmidi

issue commentkentcdodds/ama

How did you start streaming on youtube?

Hi @slim-hmidi!

Good question. I answered on my 3 minute podcast :)

slim-hmidi

comment created time in 9 hours

issue closedkentcdodds/ama

Copy rights check!

Hello Kent - I trust you're well.

I was browsing courses on educative.io platform and stumbled upon a react patterns course which is its content is very similar to your egghead react patterns course. attached the course url https://www.educative.io/courses/react-in-patterns

BR,

closed time in 10 hours

uwehlzcu

issue commentkentcdodds/ama

Copy rights check!

Thanks for the ping @uwehlzcu, but I don't think there's anything in there that I could claim copyright on. It looks like pretty original material :)

uwehlzcu

comment created time in 10 hours

delete branch kentcdodds/kentcdodds.com

delete branch : all-contributors/add-acusti

delete time in a day

push eventkentcdodds/kentcdodds.com

allcontributors[bot]

commit sha bd3fffc7fa42d45ce89d97ce46d0c3cdcd1e4db3

docs: add acusti as a contributor (#383) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci]

view details

push time in a day

PR merged kentcdodds/kentcdodds.com

docs: add acusti as a contributor

Adds @acusti as a contributor for content.

This was requested by kentcdodds in this comment

+10 -0

0 comment

2 changed files

allcontributors[bot]

pr closed time in a day

pull request commentkentcdodds/kentcdodds.com

Fix “State Colocation will make your React app faster” link

@all-contributors please add @acusti for content

acusti

comment created time in a day

push eventkentcdodds/kentcdodds.com

Andrew Patton

commit sha 8b2b714b129a97119c159e8bd4bec0a314476d16

Fix “State Colocation will make your React app faster” link (#382)

view details

push time in a day

push eventkentcdodds/example-codesandbox

Kent C. Dodds

commit sha f769fdaec3a521dd41b8ce95d84bce40ad817120

change title

view details

push time in 3 days

push eventkentcdodds/example-codesandbox

Kent C. Dodds

commit sha 91b15d65a9fc7892fae3cd321ad11deb9030d574

Initial commit

view details

push time in 3 days

create barnchkentcdodds/example-codesandbox

branch : master

created branch time in 3 days

created repositorykentcdodds/example-codesandbox

Created with CodeSandbox

created time in 3 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha e596234ba46a1d6b7e411c65f2e2f9083d87b8e2

add http errors

view details

push time in 3 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha e200f6c12c2a52243221d92340cc1b01dfbb8731

simplify

view details

push time in 3 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 18f17e250b3d3f633b3c3bf34d20db7f1e9900f1

http

view details

push time in 3 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 5bb329919f68bd703a6dc07b7fc07abec0833b59

update rendering list

view details

push time in 3 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 4da502c2eb58a9e6138044b1583354bc6fcada2c

decided against form elements

view details

push time in 3 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha ce81fd095f0438fbad9fde1f4137aca17174b332

another form-elements that is good, but I probably wont use it

view details

push time in 3 days

pull request commenttesting-library/react-testing-library

fix: make fireEvent mouseEnter/mouseLeave work with addEventListener

Thank you so much for this. I would love a test as well.

Is there a real world scenario where people would have to callbacks called unexpectedly?

zbrogz

comment created time in 3 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 1b35e6d53e315f2e9a3d103f137794d75a36c7ab

form elements

view details

push time in 4 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha dfc07cf6b14dd93d76751f0c9a99b00c13f010ff

no need to return

view details

push time in 4 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha de3ac36a24cfa8e685c79100d8e752092c85931e

whoops

view details

push time in 4 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha f2f53488ade457881209a72b24f845745c75506c

remove rss feed It is extremely slow. Sorry

view details

push time in 4 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha e43c94c8f675f3dd1bae71e6bd0c519a1863be13

update a few deps

view details

Kent C. Dodds

commit sha fe825d478f541aedcf384045a2c21b928ccb6b38

remove google analytics

view details

push time in 4 days

issue commenttesting-library/react-testing-library

Not firing onChange event

This issue is pretty old and general. I'm pretty confident that most of the people "experiencing issue" are in fact experiencing different issues entirely. Please open new issues (and please follow the issue template).

fgarcia

comment created time in 5 days

issue commentcodesandbox/codesandbox-client

Tests fail when run more than once

Nothing to add. I've definitely experienced it though.

garethx

comment created time in 5 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 6b53b920a07171251674da6373f664713a66a6ea

add remark plugin to automatically add affiliate linkage to stuff

view details

push time in 6 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 85477986c7dccbacd4a1d0f5e97292bc6f591d77

simplify

view details

push time in 6 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 9f852f738e1a6da7611c8e8ac3a437916c41045c

restructure code

view details

push time in 6 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha feb80ba159376a9ef49fbef719e211448e0e524f

fix thing

view details

push time in 6 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 6cd756b62f87f26c21282ffa85d1c2b1940f1599

add hook flow lesson

view details

push time in 6 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 54814201ed5f34d9a183d5e12e19428a9061192a

add show checkbox

view details

push time in 7 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 15757cbfacd027ffbc29451457931a30a1007c1c

another point

view details

push time in 7 days

push eventtesting-library/dom-testing-library

Sebastian Silbermann

commit sha cf57dcdcdb65591792d51b97f6391792ac9cabdd

chore: Bump jsdom to 15 (#447) * chore: Bump jsdom to 15 * fix: serialize mutation records

view details

push time in 7 days

PR merged testing-library/dom-testing-library

chore: Bump jsdom to 15

Not sure which version we should use. While the latest is 16 it isn't the default version used in jest. Ideally we would test with jsdom 15 and 16 just to be aware of changes between those versions.

What:

Bump used jsdom version to 15.2.1

Why:

jsdom 15 has MutationObserver support as well as perf improvements.

How:

  • fixing breaking changes in jest and jsodm

Checklist:

<!-- add "N/A" to the end of each line that's irrelevant to your changes -->

<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->

  • [ ] Documentation added to the docs site
  • [ ] I've prepared a PR for types targeting DefinitelyTyped
  • [ ] Tests
  • [ ] Ready to be merged <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->

<!-- feel free to add additional comments -->

+95 -51

3 comments

4 changed files

eps1lon

pr closed time in 7 days

delete branch kentcdodds/jsdom

delete branch : pr/support-domparser

delete time in 7 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 2b44742a48ca645f9c0694b5ea770066be22a446

whoops

view details

push time in 7 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 27dee4970e2dc956ad142be06bcf4d4535e7048f

add link to post thing

view details

push time in 7 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 5d8d4e1dfcfef1520e56d9b7644f79c54ad77645

automation

view details

push time in 7 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 3f9ca816319f7849a6ad37d7b46900143c3434bb

add dotjs talk

view details

push time in 7 days

issue commenttesting-library/react-testing-library

TypeError container.queryselectorall is not a function

Your getQueriesForElement call should be getQueriesForElement(root) not getQueriesForElememt("root").

Is there a reason you're not using @testing-library/react exports of render and screen? I think you'd have better success with those.

kushalmahajan

comment created time in 9 days

issue commentkentcdodds/preval.macro

Link to repo from npmjs.com

Sure! Thanks!

handeyeco

comment created time in 10 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 62b6511bc0c4ff4badf0946930f7c4b657aa569e

git clone --depth on CI ruined this

view details

push time in 10 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 943958bb23f0d0103a2a6e3b25c6a39be3f287d2

consume, build, teach

view details

push time in 10 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 280f39c44171c1dfa4f0d32b9904cb568eee10df

amazon dropped me

view details

push time in 10 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha ca3f2bbb09874620161b7b9657c33e6b51b06caa

put preload and affiliate links in embedder

view details

push time in 10 days

delete branch kentcdodds/kentcdodds.com

delete branch : all-contributors/add-theianjones

delete time in 10 days

push eventkentcdodds/kentcdodds.com

allcontributors[bot]

commit sha e6b5bd3ed217c16e186f969f31ae9274e445ad08

docs: add theianjones as a contributor (#379) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci]

view details

push time in 10 days

PR merged kentcdodds/kentcdodds.com

docs: add theianjones as a contributor

Adds @theianjones as a contributor for content.

This was requested by kentcdodds in this comment

+10 -0

0 comment

2 changed files

allcontributors[bot]

pr closed time in 10 days

pull request commentkentcdodds/kentcdodds.com

Disable Preload on egghead lesson embeds

@all-contributors please add @theianjones for content

theianjones

comment created time in 10 days

push eventkentcdodds/kentcdodds.com

Ian Jones

commit sha e958e073881b20a847feac7b2f8e4a4f61bba8a8

disable preloading egghead videos (#377)

view details

push time in 10 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha f895e48c0542fc7a9fe25bf38870909022a6cc75

effect deps needed something to trigger a rerender

view details

push time in 10 days

delete branch kentcdodds/kentcdodds.com

delete branch : all-contributors/add-zerkms

delete time in 10 days

push eventkentcdodds/kentcdodds.com

allcontributors[bot]

commit sha d4540cbac74733210433bf667e5b966489c8dff8

docs: add zerkms as a contributor (#376) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci]

view details

push time in 10 days

PR merged kentcdodds/kentcdodds.com

docs: add zerkms as a contributor

Adds @zerkms as a contributor for content.

This was requested by kentcdodds in this comment

+10 -1

0 comment

2 changed files

allcontributors[bot]

pr closed time in 10 days

pull request commentkentcdodds/kentcdodds.com

Fixed a syntax error

@all-contributors please add @zerkms for content

zerkms

comment created time in 10 days

push eventkentcdodds/kentcdodds.com

Ivan Kurnosov

commit sha 60bb3743da554a717301f0ed0c8bcba533e09faa

Fixed a syntax error (#364)

view details

push time in 10 days

PR merged kentcdodds/kentcdodds.com

Fixed a syntax error
+13 -13

0 comment

1 changed file

zerkms

pr closed time in 10 days

push eventkentcdodds/kentcdodds.com

mjfneto

commit sha 2f29d8744d514d54f3105c1f8fde983ba2232248

Add link to PT-BR translation (#375)

view details

push time in 10 days

push eventkentcdodds/dotfiles

Kent C. Dodds

commit sha b3127870bddeff78bed403682ae84b8f0c18cfa4

add restore-screens

view details

push time in 10 days

push eventkentcdodds/dotfiles

Kent C. Dodds

commit sha f9bfdcd43f5234ad8f319b1007e9611ba9da2d58

add livestream

view details

push time in 10 days

push eventkentcdodds/dotfiles

Kent C. Dodds

commit sha 49dadfd48b1d42b32f3fd9b25add2578b8aee314

add record

view details

push time in 10 days

issue openedjakehilborn/displayplacer

Get current configuration for specific screen

I'd love to have a command like this:

displayplacer list E2E3EB28-C231-7ED8-4800-2A2E45E7314D

And it would output something like:

Persistent screen id: E2E3EB28-C231-7ED8-4800-2A2E45E7314D
Contextual screen id: 722475540
Type: 27 inch external screen
Resolution: 1280x720
Hertz: 60
Color Depth: 8
Scaling:on
Origin: (2560,0)
Rotation: 0
Resolutions for rotation 0:
  mode 0: res:1920x1080 hz:60 color_depth:4 scaling:on
  ... etc

And then we could further filter the information with additional arguments, like:

displayplacer list E2E3EB28-C231-7ED8-4800-2A2E45E7314D res

And that would output:

1280x720

I'm writing a script that will help me toggle between too modes that I work with regularly and right now I have to parse through the current listing info with regex. Would be great to not have to do that :)

But I'm not very comfortable in C before, so I'm not sure I can contribute this myself so I understand if you're not interested in working on this yourself.

created time in 10 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha a7e450e0f013da138203780e0ae578e0ac97eb69

rest

view details

push time in 10 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 4d12b30d727e3748ba0bbac6e702e3f548b8185f

update event handlers

view details

push time in 10 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 54448ede5beb635cb7bef74822f32956588a462d

add zaklaughton for the bug report

view details

push time in 10 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 744f54f865eb52667e671698c6c07b4fc9aa164f

do not use a real simpleCastId for the ghost 👻 Thank you @zaklaughton!

view details

push time in 10 days

push eventkentcdodds/beginners-guide-to-react

Kent C. Dodds

commit sha 38d5a587e7a538479ab49cbb8a5503c33e783431

improve styling ending state

view details

push time in 10 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 8dc4abfc0867258a10ae39584e61aec95f0d7740

ooooooohhhhh, now that makes sense

view details

push time in 11 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha c3cc1a9a39fece691de160128d58e074e0b76789

fix podcasts and improve other things

view details

push time in 11 days

push eventkentcdodds/jest-cypress-react-babel-webpack

Kent C. Dodds

commit sha b9855d8954997cb67f23673e2473a51e2cd04e2a

update cypress

view details

push time in 11 days

issue commenttesting-library/cypress-testing-library

support for cypress v4

:tada: This issue has been resolved in version 5.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

travi

comment created time in 11 days

pull request commenttesting-library/cypress-testing-library

feat: allowed cypress v4 as a valid peer

:tada: This PR is included in version 5.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

travi

comment created time in 11 days

release testing-library/cypress-testing-library

v5.3.0

released time in 11 days

created tagtesting-library/cypress-testing-library

tagv5.3.0

🐅 Simple and complete custom Cypress commands and utilities that encourage good testing practices.

created time in 11 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 7c2779f425d82c9e10c142788ffc550e0c3848fb

allow mdx frontmatter to specify the max width

view details

push time in 11 days

push eventkentcdodds/kentcdodds.com

Kent C. Dodds

commit sha 616a6635225b959cb84f5b783127a737a06b39fa

it is working

view details

Kent C. Dodds

commit sha ee5466a665a79ff01ce2ca3dfda426e0ee93b313

add intersection observer for lazy-rendering posts

view details

push time in 12 days

IssuesEvent

issue commentbabel-utils/babel-plugin-tester

Issue with Babel `declare(...)` Api-Check Helper

Didn't mean to close that 😬 Sorry!

JohnPucciarelli

comment created time in 12 days

issue closedbabel-utils/babel-plugin-tester

Issue with Babel `declare(...)` Api-Check Helper

  • babel-plugin-tester version: 7.8.3
  • node version: v12.14.0
  • npm (or yarn) version: npm@6.13.6

When using the declare(...) helper from @babel/helper-plugin-utils, the api.assertVersion(...) call gives me the following error:

  ● Test suite failed to run

    Requires Babel "^7.0.0-beta.41", but was loaded with "7.8.4". You'll need to update your @babel/core version.

      18 | export default declare((api, options, dirname) => {
      19 |   // check babel version
    > 20 |   api.assertVersion(7);

If you look at the error message, my @babel/core version is ahead of the minimum requirement. I believe this is the result of some incompatibility between the declare(...) helper and this library.

This message is not displayed if I switch to running my tests with @babel/helper-plugin-test-runner.

Please let me know if there's any additional information I can provide you with.

closed time in 12 days

JohnPucciarelli

issue commentbabel-utils/babel-plugin-tester

Issue with Babel `declare(...)` Api-Check Helper

Hi @JohnPucciarelli,

I'm not sure what's causing this error. I haven't used the declare helper before, so I don't have any insight for you. If you'd like to dig a little further and suggest a solution then I'd be happy to review that :) Otherwise, I'm afraid I don't have the bandwidth to dig into this myself. Sorry.

JohnPucciarelli

comment created time in 12 days

Pull request review commenttesting-library/testing-library-docs

docs: Update Cypress Testing Library scoping example

 To show some simple examples (from  ```javascript cy.findAllByText('Jackie Chan').click()-cy.queryByText('Button Text').should('exist')-cy.queryByText('Non-existing Button Text').should('not.exist')-cy.queryByLabelText('Label text', {timeout: 7000}).should('exist')+cy.findByText('Button Text').should('exist')+cy.findByText('Non-existing Button Text').should('not.exist')+cy.findByLabelText('Label text', {timeout: 7000}).should('exist')++// findAllByText _inside_ a form element+cy.get('form').findByText('Button Text').should('exist') cy.get('form').within(() => {

Cool. Let's remove it then 👍

NicholasBoll

comment created time in 12 days

issue commenttesting-library/react-testing-library

Simplify asynchronous component testing

And if your component is doing something async in useEffect, it's better to use an async utility rather than putting async act call around.

reinismu

comment created time in 12 days

more