The Ugly Side of React Hooks

Written by niryo | Published 2020/10/04
Tech Story Tags: react | react-hooks | javascript | reactjs | react-native | react-hook | rethinking-programming | software-development

TLDR The Ugly Side of React Hooks is a point of view about Hooks. Hooks are a new concept, and a pretty weird one, but Funclasses are a concept, not a syntax. Hook function is not a regular function, because it has state, and it has a weird looking looking looking like a hook. Hooking functions is the biggest problem of React’s approach to state-of-the-box. Hooked functions are hard to reuse and don’t offer a way to “attach a reusable behavior to a reusable state’, leaving the state out of the box.via the TL;DR App

no story

Written by niryo | Software developer @Wix.com
Published by HackerNoon on 2020/10/04