elmfire
elmfire copied to clipboard
[WIP] Update to Elm 0.18 and Firebase 3
PR to track progress. Please use it for discussions and reviews.
Previous discussions in issues Support elm 0.17 and Firebase 3.0
Agenda:
- [x] Adopt new native code conventions
- [x] Comparable types for specifying subscriptions
- [x] Effect manager to handle valueChanged subscriptions
- [ ] Sort out structure of exposed modules
- [ ] Allow for query options
- [ ] Support syncing to a dict (like old ElmFire.Extra)
- [ ] Research design choices for childAdded queries (tricky)
- [ ] Migrate to Firebase 3.x (Google's version)
- [ ] Changed authentication API for Firebase 3
- [x] Use Elm 0.18
- [ ] Testing framework (I have a feeling that we need a new kind of test framework for effect managers.)
And:
- Discuss API with community
- Documentation
- Nice demo app
Really like what I see happening now. Will the example also be migrated to 0.18? :)
@atlewee thanks, missed that one. Example is now updated too.
Hi @ThomasWeiser,
I'm really interested in this project and I would like to help you to update it to Elm 0.18 but I'm not that advanced in Elm so if you're willing to somehow guide me I can help you with the code.
To give you an idea of how I'm using Elm you can check the repos below (most recent to older)
- https://github.com/txgruppi/elm-webpack-starter
- https://gitlab.com/txgruppi/bigtalk-frontend
- https://github.com/txgruppi/site-frontend
Kind regards.
FWIW, Firebase 4.x is out already (see release notes). Just saying in case you think it makes sense to sync directly to it.