Skip to content
Discussion options

You must be logged in to vote

what do you mean when you say alternative? memoized calc goes into usememo, effects into useeffect, state into usestate, renderloop into useframe. when you unfiddle vanilla code you just need to place it into these categories to form a self contained component in the end.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marluscw
Comment options

Answer selected by marluscw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants