-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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
create-subscription #12325
Merged
bvaughn
merged 54 commits into
facebook:master
from
bvaughn:create-component-with-subscriptions
Mar 13, 2018
Merged
create-subscription #12325
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
d5d8bf6
POC for create-component-with-subscriptions
bvaughn 7b1e8c2
Updated README
bvaughn f8743b3
Added Rollup bundle
bvaughn 4304b55
Expanded tests
bvaughn 30eb16a
Updated bundle comment
bvaughn eb1372c
Added a test for "cold" observable
bvaughn 88e7e22
Updated inline comments
bvaughn c395051
Updated README examples
bvaughn 78c9a4c
Added a test (and README docs) for Promises
bvaughn d1fc6e8
Added a caveat about Promises to README
bvaughn 2e98ca9
Use a HOC for functional components and a mixin for ES6 components
bvaughn 5093ab4
Added tests for create-react-class
bvaughn 54468e8
Flow fix
bvaughn 6b16b7c
Added a ref test
bvaughn d05ffa3
Added a test for react-lifecycles-compat
bvaughn bd36fb4
Updated README to show class component
bvaughn a11164e
Added docs for default values
bvaughn 31edf59
Improved README examples
bvaughn 256c5e5
Simplified Promise docs and added additional test
bvaughn 6dcac15
Swapped functional/class component usage in examples
bvaughn 39d7ba8
Split internal and public API tests
bvaughn b5571c1
Tweaks
bvaughn 2192fd5
Changed impl to only support one subscription per component
bvaughn fdfa22b
Docs tweak
bvaughn afeb6cd
Docs tweaks
bvaughn 7532184
Refactored create-subscription to more closely mimic context API
bvaughn 0f936ba
Renamed create-component-with-subscriptions => create-subscription
bvaughn 2d824c2
Renamed references to create-subscription
bvaughn 3edff49
Replaced .toThrow with .toWarnDev
bvaughn e056172
Disable render-phase side effects
bvaughn 9bdc6d6
Updated docs
bvaughn 9ffe079
README and naming tweaks
bvaughn 629f145
README tweaks
bvaughn 48b4a1b
Wording tweak
bvaughn ee2ae93
Inline comments tweak
bvaughn 64d80b8
Minor test tidying up
bvaughn ad190fb
Added more context to README intro
bvaughn 3288726
Wordsmith nit picking
bvaughn 81f2695
Wordsmith nit picking
bvaughn 267a76b
Replaced Value with Value | void type
bvaughn db7b84f
Tweaks in response to Flarnie's feedback
bvaughn 32d6d40
Added RxJS for tests instead of fake impls
bvaughn 5557120
Improved children Flow type slightly
bvaughn ee3dfcc
Added Flow <> around config
bvaughn a2f43a5
Fixed example imports in README
bvaughn 4e57ed7
Replaced createComponent() references with createSubscription() in RE…
bvaughn f0c68b8
Changed subscribe() to return an unsubscribe method (or false)
bvaughn 63a65e6
Flow type tweak
bvaughn e6740aa
Merge branch 'master' into create-component-with-subscriptions
bvaughn c116528
Responded to Andrew's PR feedback
bvaughn c1dd9a7
Docs updatE
bvaughn e10e2fc
Flow tweak
bvaughn f03dfa9
Addressed PR feedback from Flarnie
bvaughn 6f740d9
Removed contradictory references to Flux stores in README
bvaughn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Minor test tidying up
- Loading branch information
commit 64d80b8c86c6224a6bb057a5cffa8380387f426b
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Promsie -> Promise
("Promsie" sounds like an adorable cartoon used to brainwash kids into learning JavaScript)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Promsie" 😆