All notable changes to @dharayush7/fireclass-react. Adheres to
Keep a Changelog and Semantic Versioning.
- Rebuilt the README from the website React setup, realtime API, and complete realtime Todo guide.
- Added Firebase Web app initialization, app-bound Fireclass setup, validated models, query/document hook state transitions, cleanup behavior, adapter capabilities, query serialization limits, and Security Rules guidance.
- Removed npm, license, and type shield badges.
- Expanded npm discovery metadata for React hooks, Firebase client Firestore, realtime subscriptions, typed models, Firestore ODM, validation, and queries.
- Linked the npm homepage directly to the React API and included release documentation in the package contents.
- No runtime API or behavior changed in this release.
First public release of the Fireclass suite's firebase client-SDK runtime with
realtime React hooks. Depends on @dharayush7/fireclass-core ^2.0.8.
createFireclass(firestore)— binds Fireclass to a client-SDK Firestore and returns{ BaseModel, adapter, useQuery, useDoc }.ClientAdapter— implements the coreFirestoreAdapterover thefirebaseclient SDK, includingbatchDelete(viawriteBatch), aggregatecount, and realtimesubscribe/subscribeDoc(viaonSnapshot).useQuery(Model, options?)— live query hook returning hydrated instances, re-subscribing on change and cleaning up on unmount.useDoc(Model, id)— live single-document hook.- Re-exports the full
@dharayush7/fireclass-coreAPI. examples/vite-realtime— a runnable Vite + React realtime Todo app.- 19 tests: client-adapter translation (mocked
firebase/firestore) and hook behavior (jsdom + Testing Library) including realtime updates and cleanup.