Commit Graph

11 Commits

Author SHA1 Message Date
Jeff Huleatt
f008f306c7 sample works with suspense! 2020-05-26 23:32:57 +00:00
jhuleatt
54ad1c4cc9 modify sample for testing new api 2020-05-19 10:24:24 -07:00
jhuleatt
51fed7db57 sample use suspense 2020-05-13 12:16:14 -07:00
jhuleatt
c766627969 sketch out suspense-optional api 2020-05-08 11:22:39 -07:00
David East
b55017d55f Update preload methods in sample 2020-05-04 12:34:54 -06:00
James Daniels
3cebaa921a Refactoring use/preload and more (#215)
* Drop `initPerformance` (closes #207)
* Cleaning up the use/preload types
* Use my good friend `Proxy` to allow access to both the `serviceProps` and the initialized instance without double calling (e.g, `useAuth()()`)
* More checks against double initializing
* Added binding to the initialize call (closes #213)
* `SuspenseWithPerf` now lazy loads performance monitoring and uses the user timing API
* Fixed the CJS build with a better external test (closes #214)
2020-02-20 13:32:37 -08:00
David Smith
ca32a93aea Add hooks to get firestore document data once (#211)
* Add hooks to get firestore document data once
* use checkStartWithValue for consistency

Co-authored-by: James Daniels <james@jamesdaniels.net>
2020-02-12 13:07:48 -08:00
David East
e2f1b1f58c Preload settings callbacks (#205)
Provide a way for all SDKs to be initialized before they're called by any ReactFire hooks
2020-01-31 11:02:28 -08:00
David East
f417133bd0 Remote Config API (#204)
Add Remote Config
2020-01-30 10:27:58 -08:00
Jeff
4b90236831 Add *Data methods for RTDB (#184)
* extract checkOptions and friends

* add useDatabaseListData and useDatabaseObjectData

* update sample

* update types

* add to docs
2020-01-16 13:56:25 -08:00
jhuleatt
7820b0f162 remove the sample-complex folder 2019-11-11 16:59:08 -08:00