-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Rewrite connect() for better performance and extensibility #416
Commits on Jun 16, 2016
-
Reimplementing connect() and extracting connectToStore() based on 're…
…select'. (6 failing tests to go)
Configuration menu - View commit details
-
Copy full SHA for ee4366b - Browse repository at this point
Copy the full SHA ee4366bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aec436 - Browse repository at this point
Copy the full SHA 2aec436View commit details -
Change code to make tests for factory mapStateToProps/mapDispatchToPr…
…ops pass. BREAKING CHANGE: requires setting an option parameter mapStateIsFactory/mapDispatchIsFactory to signal factory methods.
Configuration menu - View commit details
-
Copy full SHA for fe7358c - Browse repository at this point
Copy the full SHA fe7358cView commit details -
Adjust remaining 2 failing tests to account for slightly different be…
…hind-the-scenes behavior of new implementation.
Configuration menu - View commit details
-
Copy full SHA for 9967a18 - Browse repository at this point
Copy the full SHA 9967a18View commit details -
Configuration menu - View commit details
-
Copy full SHA for a12c1ec - Browse repository at this point
Copy the full SHA a12c1ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27f613d - Browse repository at this point
Copy the full SHA 27f613dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 106ded6 - Browse repository at this point
Copy the full SHA 106ded6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cde8ba2 - Browse repository at this point
Copy the full SHA cde8ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a631ab - Browse repository at this point
Copy the full SHA 5a631abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3416b42 - Browse repository at this point
Copy the full SHA 3416b42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6786824 - Browse repository at this point
Copy the full SHA 6786824View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e72f23 - Browse repository at this point
Copy the full SHA 5e72f23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7890b4c - Browse repository at this point
Copy the full SHA 7890b4cView commit details
Commits on Jun 17, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 612562d - Browse repository at this point
Copy the full SHA 612562dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81434df - Browse repository at this point
Copy the full SHA 81434dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71655ad - Browse repository at this point
Copy the full SHA 71655adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3266aa9 - Browse repository at this point
Copy the full SHA 3266aa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dbeeb1 - Browse repository at this point
Copy the full SHA 4dbeeb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74e0e09 - Browse repository at this point
Copy the full SHA 74e0e09View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd75a22 - Browse repository at this point
Copy the full SHA cd75a22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9de43b2 - Browse repository at this point
Copy the full SHA 9de43b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e1ddbd - Browse repository at this point
Copy the full SHA 3e1ddbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b769209 - Browse repository at this point
Copy the full SHA b769209View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70395c9 - Browse repository at this point
Copy the full SHA 70395c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ae0c3c - Browse repository at this point
Copy the full SHA 2ae0c3cView commit details
Commits on Jun 18, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e2e7108 - Browse repository at this point
Copy the full SHA e2e7108View commit details -
Change the way nested connected components subscribe so that parent c…
…omponents always subscribe before child components, so that parents always update before children.
Configuration menu - View commit details
-
Copy full SHA for 88e768b - Browse repository at this point
Copy the full SHA 88e768bView commit details -
Fix failing tests. Change the way nested components subscribe... inst…
…ead of subscribing to the store directly they subscribe via their ancestor connected component. This ensures the ancestor gets to update before its children.
Configuration menu - View commit details
-
Copy full SHA for d2b9844 - Browse repository at this point
Copy the full SHA d2b9844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 859d795 - Browse repository at this point
Copy the full SHA 859d795View commit details -
Eliminate extraneous tracking of recomputations count since we can ju…
…st compare last rendered props to new selected props
Configuration menu - View commit details
-
Copy full SHA for ce49933 - Browse repository at this point
Copy the full SHA ce49933View commit details -
Configuration menu - View commit details
-
Copy full SHA for c72bcc0 - Browse repository at this point
Copy the full SHA c72bcc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fef522 - Browse repository at this point
Copy the full SHA 9fef522View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed52f05 - Browse repository at this point
Copy the full SHA ed52f05View commit details -
Add WrappedComponent as one of the option params passed to buildSelec…
…tor(). Useful if one wanted to build a selector from the component's attributes, such as its propTypes, for example.
Configuration menu - View commit details
-
Copy full SHA for 39fbe00 - Browse repository at this point
Copy the full SHA 39fbe00View commit details
Commits on Jun 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1b8fb69 - Browse repository at this point
Copy the full SHA 1b8fb69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f0f85f - Browse repository at this point
Copy the full SHA 5f0f85fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c62ef - Browse repository at this point
Copy the full SHA 03c62efView commit details
Commits on Jun 20, 2016
-
refactor connect()... extract selectors, replace reselect with hand-r…
…olled memoization
Configuration menu - View commit details
-
Copy full SHA for 0906904 - Browse repository at this point
Copy the full SHA 0906904View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4686d8 - Browse repository at this point
Copy the full SHA d4686d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a45ae23 - Browse repository at this point
Copy the full SHA a45ae23View commit details -
Configuration menu - View commit details
-
Copy full SHA for e51315f - Browse repository at this point
Copy the full SHA e51315fView commit details
Commits on Jun 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 4969368 - Browse repository at this point
Copy the full SHA 4969368View commit details
Commits on Jun 23, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b1cc3d3 - Browse repository at this point
Copy the full SHA b1cc3d3View commit details -
pull apart buildSelector into its pieces and move them into getFinalP…
…rops and connectAdvanced because it wasn't clear what it did as it was
Configuration menu - View commit details
-
Copy full SHA for 78045dc - Browse repository at this point
Copy the full SHA 78045dcView commit details -
Move where 'extra props' (ref and recomputations) are added to the fi…
…nal props to simplify memoization functions
Configuration menu - View commit details
-
Copy full SHA for 846c09b - Browse repository at this point
Copy the full SHA 846c09bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee77f3f - Browse repository at this point
Copy the full SHA ee77f3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8170f16 - Browse repository at this point
Copy the full SHA 8170f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3287546 - Browse repository at this point
Copy the full SHA 3287546View commit details
Commits on Jun 24, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 0b9fd95 - Browse repository at this point
Copy the full SHA 0b9fd95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30857f4 - Browse repository at this point
Copy the full SHA 30857f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e0a66c - Browse repository at this point
Copy the full SHA 1e0a66cView commit details
Commits on Jun 26, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5bc7b83 - Browse repository at this point
Copy the full SHA 5bc7b83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e7f2d7 - Browse repository at this point
Copy the full SHA 1e7f2d7View commit details
Commits on Jul 2, 2016
-
Add guard for the case of a component causing its siblings to unsubsc…
…ribe in the middle of the notification loop.
Configuration menu - View commit details
-
Copy full SHA for e284d8b - Browse repository at this point
Copy the full SHA e284d8bView commit details
Commits on Jul 3, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 395c4ee - Browse repository at this point
Copy the full SHA 395c4eeView commit details
Commits on Jul 9, 2016
-
Configuration menu - View commit details
-
Copy full SHA for dab9c85 - Browse repository at this point
Copy the full SHA dab9c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for cabd376 - Browse repository at this point
Copy the full SHA cabd376View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d175f - Browse repository at this point
Copy the full SHA 35d175fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67d6e13 - Browse repository at this point
Copy the full SHA 67d6e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for a604856 - Browse repository at this point
Copy the full SHA a604856View commit details
Commits on Jul 10, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 652d85c - Browse repository at this point
Copy the full SHA 652d85cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d56c36d - Browse repository at this point
Copy the full SHA d56c36dView commit details
Commits on Jul 11, 2016
-
Change Subscription to follow same subscribe/unsubscribe/notify mecha…
…nics as redux's createStore
Configuration menu - View commit details
-
Copy full SHA for 418b659 - Browse repository at this point
Copy the full SHA 418b659View commit details -
refactoring connect's selectors to move logic to determine what to re…
…compute into getFinalProps.js
Configuration menu - View commit details
-
Copy full SHA for 44fd92d - Browse repository at this point
Copy the full SHA 44fd92dView commit details
Commits on Jul 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 1cb72c0 - Browse repository at this point
Copy the full SHA 1cb72c0View commit details
Commits on Jul 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5ec8143 - Browse repository at this point
Copy the full SHA 5ec8143View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1120555 - Browse repository at this point
Copy the full SHA 1120555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55b49b2 - Browse repository at this point
Copy the full SHA 55b49b2View commit details
Commits on Jul 15, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 86a4bbe - Browse repository at this point
Copy the full SHA 86a4bbeView commit details
Commits on Jul 16, 2016
-
Optimize connectAdvanced to not create subscription if it shouldn't r…
…espond to state changes.
Configuration menu - View commit details
-
Copy full SHA for 3cc504f - Browse repository at this point
Copy the full SHA 3cc504fView commit details -
Refactor - put dependsOnOwnProps right on the selector func instead o…
…f extra "meta" property
Configuration menu - View commit details
-
Copy full SHA for 3c5c80e - Browse repository at this point
Copy the full SHA 3c5c80eView commit details -
Add test from #293 and uncomment now-passing expect in 'should pass s…
…tate consistently to mapState'
Configuration menu - View commit details
-
Copy full SHA for de81801 - Browse repository at this point
Copy the full SHA de81801View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2df051 - Browse repository at this point
Copy the full SHA e2df051View commit details -
Configuration menu - View commit details
-
Copy full SHA for e907f85 - Browse repository at this point
Copy the full SHA e907f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d82f0 - Browse repository at this point
Copy the full SHA a6d82f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4d3211 - Browse repository at this point
Copy the full SHA a4d3211View commit details