DEV Community

loading...

Discussion on: useState or const: what's the difference?

Collapse
pickleat profile image
Andy Pickle

Second would throw an error if reassigned and the first could be updated if called, correct?