re: useState or const: what's the difference? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Wouldn't you need a "setNeedsTacos" to trigger a re-render?
 

Yes, you are right, Ryan.

Updating the state using setNeedsTacos "can" cause the re-render.

code of conduct - report abuse