Hacker News new | past | comments | ask | show | jobs | submit login

Depends on what you mean by global state. You don't have access to a single pool of global variables. You only have access to what you put there and what you've been given.



Is it that they are global state to react but not to the programmer or his/her code?


It's that they are not shared like globals.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: