ychi / fire-elect

1 stars 3 forks source link

Read Data from Firebase -- Websocket Flavour #2

Closed ychi closed 4 years ago

ychi commented 4 years ago

Hard code some data in firebase, and construct a component that reads from it.

To start simple, let's not worry about redux or useReducer etc. Just a component reading one data row from firebase in a useEffect().

Let's try web socket in this task (=> when data in firebase changes, we want web page to change automatically)