Files
element-call-Github/src/room
Robin af0bd795b5 Replace react-rxjs with observable-hooks
react-rxjs is the library we've been using to connect our React components to view models and consume observables. However, after spending some time with react-rxjs, I feel that it's a very heavy-handed solution. It requires us to sprinkle <Subscribe /> and <RemoveSubscribe /> components all throughout the code, and makes React go through an extra render cycle whenever we mount a component that binds to a view model. What I really want is a lightweight React hook that just gets the current value out of a plain observable, without any extra setup. Luckily the observable-hooks library with its useObservableEagerState hook seems to do just that—and it's more actively maintained, too!
2024-07-12 15:46:33 -04:00
..
2024-04-23 22:15:13 +09:00
```
2023-11-20 13:20:19 +00:00
2024-02-01 14:19:35 -05:00
2024-04-23 22:15:13 +09:00
2024-04-23 22:15:13 +09:00
```
2023-11-20 13:20:19 +00:00
2024-04-23 22:15:13 +09:00
2024-04-23 22:15:13 +09:00
2024-04-23 22:15:13 +09:00
2023-11-20 13:38:01 +00:00
2023-10-11 10:42:04 -04:00
2024-06-04 11:20:25 -04:00
2023-10-11 10:42:04 -04:00
2023-10-11 10:42:04 -04:00
2024-07-12 14:01:32 -04:00