Ben Ilegbodu · Jun 13, 2021
Creating a React controlled components pattern custom Hook
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Two weeks ago I wrote about [picking the right React component pattern](/blog/picking-right-react-component-pattern/) for shared components that we build. One of the patterns I discussed was the controlled components pattern that makes our custom component act much like [controlled HTML form elements](https://fb.me/react-controlled-components). I showed this snippet of code for a `Pagination`…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.