Nice article. 🎉 But I Never thought about putting rendered components inside hooks like your modal. For me they were always a way eiyher to access context or reuse logic.
Good, then you don't have to fix them :D Creating components in render is usually terrible. It's only okay for something like modals, when we drop the DOM after it's closed.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article. 🎉 But I Never thought about putting rendered components inside hooks like your modal. For me they were always a way eiyher to access context or reuse logic.
Good, then you don't have to fix them :D Creating components in render is usually terrible. It's only okay for something like modals, when we drop the DOM after it's closed.