Commit Graph

379 Commits

Author SHA1 Message Date
Jeff
ff1c1ea053 Add a StorageImage component (#182) 2019-11-11 14:24:42 -08:00
James Daniels
e8506dc921 Merge pull request #181 from FirebaseExtended/compile_cjs
Generating CJS with rollup.js (fixes #146)
2019-11-07 19:29:38 -08:00
James Daniels
fa4bd673d9 Don't need browser: true in the resolve anylonger, defaults are ok 2019-11-07 15:27:45 -08:00
Chinmay Atrawalkar
99b729e68f 'added_React_Fragment' (#180) 2019-11-07 14:28:41 -08:00
James Daniels
5643497870 Generating CJS with rollup.js 2019-11-07 13:04:00 -08:00
Scott Prue
3875691c28 feat(auth): set auth.currentUser as its startWithValue in useUser - #158 (#172)
* feat(auth): set auth.currentUser as its startWithValue in useUser - #158

* fix(useUser): prevent flicker by only skipping suspending if auth.currentUser returns a user - [#172](https://github.com/FirebaseExtended/reactfire/pull/172)
2019-11-06 09:54:35 -08:00
Sean Emmer
d96bda44b4 update return type for AuthCheck and SuspenseWithPerf to JSX.Element (#162)
* update return type for AuthCheck and SuspenseWithPerf to JSX.Element

* remove changes to yarn.lock

* wrap AuthCheck fallback and children in React Fragment

* fix brackets
2019-11-05 15:06:41 -08:00
Jeff
6bf1f31a42 prevent suspend when initialValue is null (#177) 2019-11-05 14:41:18 -08:00
David East
49437e13e1 Merge pull request #164 from FirebaseExtended/jh-auth-claims
[New Stuff] Auth Custom Claims
2019-11-04 14:38:44 -07:00
Chinmay Atrawalkar
fa4e20e689 'changed_contribution_steps' (#173)
* 'changed_contribution_steps'

* 'revised_documentation'
2019-11-01 10:45:17 -07:00
Jeff
72b1c2d1b7 test and fix for error swallowing (#171) 2019-10-31 15:28:09 -07:00
Jeff
459d52452c Improve IDs passed to useObservable (#167)
* add realtime database tests

* better observable ids

* throw an error if no observableid is provided

* fix comment about emulators

* update the docs
2019-10-31 14:52:27 -07:00
Danny Tatom
0a4789a501 Clarify versions in README (#165) 2019-10-21 09:59:40 -07:00
jhuleatt
6b815c6d63 Implement AuthCheck's requiredClaims 2019-10-18 16:01:24 -07:00
Jeff
803159c62a Make sure useUser works predictably in AuthCheck (#156)
* Make sure useUser works predictably in AuthCheck

* add a test for useObservable too
2019-10-17 17:40:40 -07:00
Jeff
99dac6c4ca Fix SuspenseWithPerf error (#154)
* fix test to reproduce error when a suspense child throws a promise more than once

* create new trace every time the fallback renders
2019-10-11 17:10:14 -07:00
Jeff
0916a27839 Improve local dev experience (#152)
* make sample-simple depend on local reactfire instead of published version

* add a Prettier formatter pre-commit hook

* run prettier on the whole project

* Clarify local development instructions
2019-10-11 15:34:54 -07:00
David East
3462ec579f Feature: Add Firestore unwrap data hooks
Feature: Add Firestore unwrap data hooks
2019-10-11 13:57:34 -06:00
David East
d986a8d447 delete yarn error log 2019-10-11 13:38:11 -06:00
David East
8820711258 tests 2019-10-11 13:22:31 -06:00
David East
037ffc3c37 merge conflicts 2019-10-11 13:02:58 -06:00
David East
3de7d37871 merge conflicts 2019-10-11 13:00:48 -06:00
David East
7d4672eb4f update sample simple 2019-10-11 12:57:54 -06:00
David East
812629c9d3 unwrap snapshots firestore hooks 2019-10-11 12:56:32 -06:00
Jeff
43a972407f Merge with firebaseprivate (#150)
* add a Firestore emulator test

* more work on Firestore emulator tests

* automatically start and stop emulator

* move testing libs to devdependencies

* fix scripts

* fix SuspenseWithPerf bug

* Cloud Build POC

* Fix

* fix gitignore to exclude pub dir

* update rxfire and make tests exit

* uncomment publish stuff

* fix build (not publishing)

* add missing build step
2019-10-11 11:55:12 -07:00
David East
55a68a96ad merge conflicts 2019-10-11 10:45:58 -06:00
James Daniels
473760cdef Get everything working 2019-10-10 03:46:39 +01:00
James Daniels
8af7cc06c0 Cloud Build custom docker image 2019-10-09 17:25:34 +01:00
jhuleatt
70ef0ac69e Merge branch 'master' of github.com:FirebaseExtended/reactfire 2019-10-09 09:22:40 -07:00
jhuleatt
117bb3f34d fix test errors by updating deps 2019-10-09 09:22:21 -07:00
James Daniels
0155e8e4e0 Add private: true and frozen lockfile to Cloud Build 2019-10-09 17:01:45 +01:00
James Daniels
2ca3835cd3 Fixing up the workspaces 2019-10-09 16:55:47 +01:00
James Daniels
5ba7241fd6 Trying to fix Travis 2019-10-09 16:25:13 +01:00
Jeff
d328397296 Merge pull request #149 from FirebaseExtended/de-workspaces
Fix workspaces build for ReactFire
2019-10-08 12:43:36 -07:00
David East
b929934a86 fix workspaces build for reactfire 2019-10-08 12:58:14 -06:00
David East
7957bda314 fix workspaces build for reactfire 2019-10-08 12:55:04 -06:00
Jeff
67db174f5d Merge pull request #143 from FirebaseExtended/use
Add documentation for common use cases
2019-08-21 10:59:12 -07:00
jhuleatt
6d3cff0c77 add common use cases 2019-08-05 11:29:48 -07:00
Jeff
f8cf5017e6 Correct beta -> alpha
Per #135 Reactfire is Alpha, not Beta
2019-08-02 10:14:13 -07:00
James Daniels
06ad68dd5c Merge pull request #136 from jhuleatt/v2
Docs
2019-07-10 11:21:21 -07:00
James Daniels
9506af424c Merge pull request #134 from jhuleatt/v2
Reactfire v2! Hooks, Suspense, Context
v2.0.0-alpha.2
2019-07-10 11:07:05 -07:00
Jeff
fc2be5b71b Merge pull request #3 from FirebasePrivate/docs
Better docs
2019-07-10 10:10:26 -07:00
jhuleatt
01d1ecb66a update name of reference link 2019-07-10 10:09:51 -07:00
jhuleatt
b4acdd931d minor formatting 2019-07-09 16:47:05 -07:00
jhuleatt
966be0c080 model after rxfire docs 2019-07-09 16:37:32 -07:00
jhuleatt
e15c0fbcec refactor: organize per-product
now that we understand the api better,
I'm breaking the components and hooks into
per-product folders so that they're easier to read/test/maintain
2019-07-09 15:20:19 -07:00
jhuleatt
d5a1543ace be consistent with npm/yarn 2019-07-03 15:05:37 -07:00
jhuleatt
0aa4d658e1 updates to quickstart based on Sam's feedback 2019-07-03 15:01:13 -07:00
jhuleatt
2182139e0f fix quickstart 2019-07-02 12:28:16 -07:00
jhuleatt
4e7a12f96b add readme to deploy 2019-07-02 12:04:22 -07:00