https://github.com/texmeijin/vite-xstate-firebase
vite with react-tsをベースとして、XStateとFirebaseの組み合わせについて動作検証をする
https://github.com/texmeijin/vite-xstate-firebase
Last synced: about 2 months ago
JSON representation
vite with react-tsをベースとして、XStateとFirebaseの組み合わせについて動作検証をする
- Host: GitHub
- URL: https://github.com/texmeijin/vite-xstate-firebase
- Owner: TeXmeijin
- Created: 2021-05-11T15:36:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-11T15:44:07.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T03:46:05.250Z (4 months ago)
- Language: TypeScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 目的
vite with react-tsをベースとして、XStateとFirebaseの組み合わせについて動作検証をする
## ToDo
- [x] install xstate / @xstate/react
- [x] write sample XState machine in App.tsx
- [ ] write sample of sharing states between multiple components by XState
- [ ] install firebase
- [ ] set up firebase's local emulator
- [ ] set up some firestore data like chat rooms: rooms and messages
- [ ] implement states with messages and rooms that are connected firestore
- [ ] test that the listeners of firestore will be stopped when the component unmounted
- [ ] test the behavior: when where condition changed, the snapshot listeners will be correctly stopped, and new listener will be bind