-
Notifications
You must be signed in to change notification settings - Fork 45.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useSubscription hook #15022
useSubscription hook #15022
Commits on Jul 15, 2019
-
Added useSubscription reference hook and tests
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for c35b054 - Browse repository at this point
Copy the full SHA c35b054View commit details -
Fixed a race case in useSubscription. Converted tests from Noop to Te…
…st renderer.
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for f768b57 - Browse repository at this point
Copy the full SHA f768b57View commit details -
Fixed an additional unmount edge case. Moved hook into temporary pack…
…age.
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 00c38dd - Browse repository at this point
Copy the full SHA 00c38ddView commit details -
Updated useSubscription API to require deps array
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 0ee0bab - Browse repository at this point
Copy the full SHA 0ee0babView commit details -
Revert "Updated useSubscription API to require deps array"
This reverts commit 87f7c31.
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for da060ab - Browse repository at this point
Copy the full SHA da060abView commit details -
Tidied things up, added Flow types, etc
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 245b707 - Browse repository at this point
Copy the full SHA 245b707View commit details -
Add return type to useSubscription
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 97e9d07 - Browse repository at this point
Copy the full SHA 97e9d07View commit details -
Refactored useSubscription to remove explicit source param and rely o…
…n useMemo
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 345a67a - Browse repository at this point
Copy the full SHA 345a67aView commit details -
Added explicit test for useMemo and useCallback and num unsubscriptions
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 1ad3743 - Browse repository at this point
Copy the full SHA 1ad3743View commit details -
Renamed react-hooks package to use-subscription
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 6d1de39 - Browse repository at this point
Copy the full SHA 6d1de39View commit details -
Updated tests to account for changes to scheduler / flushing behavior
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for b827015 - Browse repository at this point
Copy the full SHA b827015View commit details -
Avoid returning a stale/torn value when the subscription changes
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 78f425e - Browse repository at this point
Copy the full SHA 78f425eView commit details -
Use lazy initializer function for useState to avoid calling getCurren…
…tValue() unnecessarily
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for a6307a8 - Browse repository at this point
Copy the full SHA a6307a8View commit details -
Added useDebugValue() to useSubscription() hook
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for c161880 - Browse repository at this point
Copy the full SHA c161880View commit details -
Updated Scheduler method names
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 0f1258f - Browse repository at this point
Copy the full SHA 0f1258fView commit details -
Updated tests to account for changes in Act
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for b6471bc - Browse repository at this point
Copy the full SHA b6471bcView commit details -
Reset useSubscription package version to 0.0.0
We will update it to 1.0.0 as part of the first release (with 16.9)
Brian Vaughn committedJul 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 1d1ded9 - Browse repository at this point
Copy the full SHA 1d1ded9View commit details
Commits on Jul 16, 2019
-
Brian Vaughn committed
Jul 16, 2019 Configuration menu - View commit details
-
Copy full SHA for c88a936 - Browse repository at this point
Copy the full SHA c88a936View commit details