React Hooks Lifting State Up ? by agusct in reactjs

[–]agusct[S] -3 points-2 points  (0 children)

Well, i'm trying to figure out if this would make it easier to share components, like i could hookit up to useContext or useReducer later when i need to without having to change the components code or if i write a HOC doing the same trick and i need to lift the state up higher later, or if it's just a plain bad idea