Closed som-sm closed 2 years ago
Based on the conversation here, this PR brings the code in the repo in sync with what is present in the video.
In the video, initialProps is directly passed to the useCounter hook and not via the TestComponent
initialProps
useCounter
TestComponent
@all-contributors please add @ssmkhrj for code
@kentcdodds
I've put up a pull request to add @ssmkhrj! :tada:
Based on the conversation here, this PR brings the code in the repo in sync with what is present in the video.
In the video,
initialProps
is directly passed to theuseCounter
hook and not via theTestComponent