developing react useSSE hook.
To start developing do the following steps:
- install the top folder
- build the top folder
- install example/db folder
- duplicate the
initial-db.json
file and name itdb.json
- start db
- install example/server folder
- start server
- install example/client folder
- in the root folder run
npm link ./example/client/node_modules/react
. - start client
Now when editing the useSSE function in the top src folder, you should see and update in the browser.