Converting a Preact Component to use hooks with Sophia Li
Read OriginalThis article details a live pair programming session where developer Sophia Li converted a Preact class component in the DEV/Forem codebase into a function component using React hooks. It covers the initial use of useState and a subsequent discussion and implementation of the useReducer hook, with links to the full session recording and the merged GitHub pull request.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser