Websockets => React Hooks!
This app will implement the 16.8 shift to 'hooks', as much as possible.
- this has a complementary server project that acts as the ws endpoint.
useEffect()
is a powerful tool, I recommend to read this article that goes into descriptive depth (gifs!) to explain how it works.- implementations still needed for production:
- Security:
- password/membership
- 2FA ACL for endpoints
- serverside .env with key (salt)
- Logic
- Hash userID for high traffic uniqueness
- 2DBs needed: NoSQL DB needed for chat + SQL for user/admin mgmt.
- Code
- wrap up as a npm @package
- Security: