Glossary: Real-Time Apps with WebSockets
State (React)
Also written: state, useState
Data a component keeps. `useState` gives the value and a setter, and calling the setter stores a new value and redraws the page.
Glossary: Real-Time Apps with WebSockets
Also written: state, useState
Data a component keeps. `useState` gives the value and a setter, and calling the setter stores a new value and redraws the page.