epicweb-dev / react-hooks

Learn React Hooks! 🎣 ⚛
https://hooks.epicreact.dev
Other
2.78k stars 1.91k forks source link

improve the background in 05.md #154

Closed mokajima closed 3 years ago

mokajima commented 3 years ago

Hi! I found the word render method is used in the Background section in the src/exercise/05.md and I've replaced that with function component. I think render method means the render method of a class component, is it correct? Nowadays, I think we mainly use function components so I've made those changes.

kentcdodds commented 3 years ago

@all-contributors please add @mokajima for docs

allcontributors[bot] commented 3 years ago

@kentcdodds

I've put up a pull request to add @mokajima! :tada:

mokajima commented 3 years ago

Thank you!

I still have a hard time talking about the function body like that instead of calling it a "render method"

I feel you 😅