hooked-collections
v0.0.6
Published
Frontend record collections with REST-ful Hooks based API.
Downloads
1
Readme
Hooked Collections
Frontend record collections with REST-ful Hooks based API.
API
// Get collection of users.
useCollection('users');
// Get user record with id 12.
useRecord('users', 12);
Vision
Backend syncing
Records not available in the frontend will be fetched and cached.
Newly created/edited records will be persisted to the backend.
Persistence state of records will be tracked:
- new
- creating
- created
- editing
- updating
- updated
- deleting
- deleted