News for hackers. Stuff that matters.
Re:Thinking in React Hooks by paulddraper on Thursday December 12, 2019 @05:35PM (#21777317)
The most probable case of an issue is putting then inside a conditional block.
Re:Thinking in React Hooks by erikpukinskis on Friday December 13, 2019 @02:45AM (#21779841)
Just put the conditional inside the hook.