Description
It's time for vuefire to update to Cloud Firestore 🎉
In order to give you some visibility about the new version, here's a checklist with features. Feel free to ask about new things, I'll probably forget to add every single feature to the list.
Until the version becomes stable there may be breaking changes, but if you're using the current version of vuefire, don't worry, it won't affect you. The new version will be published under the next
tag on npm, meaning that you can already play with it if you want
Firestore is now supported by the latest tag
Keep in mind, there're still no docs but you can check the exapmles/
folder and tests for inspiration
Features
- Document binding
- Collection binding
- unbind on destroy
- Manual bind
- Manual unbind
- Support firestore as a function
- bind -> returns a promise
- option to remove data right away when binding on top of an already bound ref
- Automatic unbind when already bound
- Development warnings
- Recursive ref binding + unbinding
- Bind refs in documents
- bind refs inside of objects
- bind refs inside of arrays
- bind plain refs
- Stop at 1st depth by default
- allow passing max depth
- Bind refs in documents
- customizing
id
key used - Move tests to Jest
- Split code to have both, vuefire and vuexfire code here
- Allow users to use both RTDB and Firestore at the same time
- Documentation
- Vuepress site
- Live Examples
- Figure out a way to document common things between vuefire /vuexfire
- Vuexfire
- Good practices about binding documents and collections
- Where to host references to collections and others (Make it easy to access the per item firebase refs. #180)
- Cookbook
- Pagination
- How to write tests
- Using without a bundler (prototyping)
- Add full template to use
- Using with Typescript
- Dynamically bound properties (
Vue.set
)
- Note in getting started about docs being for people using webpack (or project with cli
- Link to cookbook
If you find bugs, please, open a new issue (but make sure to check if it hasn't been fixed already 😛 )
if you want to check the ongoing work, it's on the firestore branch