-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: reduxjs/react-redux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: reduxjs/react-redux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 9 commits
- 54 files changed
- 7 contributors
Commits on Mar 3, 2019
-
Add first SSR integration-tests (#1197)
* Added integration test-folder and first basic server-rendering test * Added tests for dispatching actions serverside
Configuration menu - View commit details
-
Copy full SHA for 5bf647d - Browse repository at this point
Copy the full SHA 5bf647dView commit details
Commits on Mar 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 471cb2c - Browse repository at this point
Copy the full SHA 471cb2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f3c2e2 - Browse repository at this point
Copy the full SHA 4f3c2e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72ed6db - Browse repository at this point
Copy the full SHA 72ed6dbView commit details
Commits on Apr 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8e20a05 - Browse repository at this point
Copy the full SHA 8e20a05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28adb54 - Browse repository at this point
Copy the full SHA 28adb54View commit details
Commits on Apr 7, 2019
-
* Enable versioned doc * Start adding 6.0 docs * Rename 5.1.1 to 5.x and make it work * Cast v6.x versioned docs * Display v7.x as pre-release version
Configuration menu - View commit details
-
Copy full SHA for eae14cc - Browse repository at this point
Copy the full SHA eae14ccView commit details
Commits on Apr 9, 2019
-
Use Hooks internally (aka 7.0) (#1209)
* Update React to latest * Update React peer dependency to 16.8.x * Initial re-implementation of `connectAdvanced` using hooks Matches changes from v7.0.0-alpha.1 * Update tests to match v7-alpha.1 behavior Added rtl.act() calls around dispatches and other component updates Added clarification on expected mapState calls in some places Disabled some no-longer-relevant tests per implementation Made tests run against React 16.8 by default * adding a react hooks test that fails with v7 alpha * wrapping store.dispatch with rlt.act, fixes component renders * reducing hooks test to 2 components * Fix case where wrapper props changed before store update render * Mark ReactDOM as global in UMD builds Matches state as of v7.0.0-alpha.2 * Fix perf problems with out-of-bounds array access Matches state as of v7.0.0-alpha.3 * Add modules to handle importing batchedUpdates * Use appropriate batched update API for subscriptions * Inject unstable_batchedUpdates in default entry point * Provide an alternate entry point for alternate renderers Matches state as of v7.0.0-alpha.4 * Remove batch arg from createListenerCollection (#1205) This prevents a bug with Terser (webpack's default minifier) where the returned batch function isn't defined due to function inlining. Matches state as of v7.0.0-alpha.5 * Remove older React versions from Travis * Add comments to connectAdvanced. Many much comments! * Re-add test for a custom store as a prop * Fix null pointer exception when store is given as a prop We were trying to read contextValue.subscription, even if that value was null. Reworked logic to handle cases where the store came in as a prop. * Ensure wrapper props are passed correctly when forwarding refs * Add a test to verify subscription passthrough with store-as-prop * add non-batched tests (#1208) * Force SSR tests to mimic a Node environment * Restructure connect tests to group by category for easier reading Yeah, this kills the blame history. Sorry. But it's a lot easier to figure out what the tests are used for now. * Clean up dead code in Provider tests * Add tests to verify errors are thrown for bad mapState functions * Fix edge cases around saved wrapper props and error handling Changed to useLayoutEffect to ensure that the lastWrapperProps ref is written to synchronously when a render is committed. However, because React warns about this in SSR, added a check to fall back to plain useEffect under Node so we don't print warnings. Also added logic to ensure that if an error is thrown during a mapState function, but the component is unmounted before it can render, that the error will still be thrown. This shouldn't happen given our top-down subscriptions, but this will help surface the problem in our tests if we ever break the top-down behavior. * Formatting * Add a test to verify no errors are printed in SSR usage * Ignore .idea/ * 7.0.0-beta.0 * Updated outdated SSR-test (dispatch in ancestors) (#1213) * Added test for injecting dynamic reducers on client and server (#1211) * Remove WebStorm gitignore This goes in a global gitignore file, not a project. * [FIX]: #1219 Save references before update (#1220) * Re-ignore .idea/ * 7.0.0-beta.1 * Update the codecov config to be more forgiving. * add test to verify that mapStateToProps is always called with latest store state (#1215)
Configuration menu - View commit details
-
Copy full SHA for fa58572 - Browse repository at this point
Copy the full SHA fa58572View commit details -
Configuration menu - View commit details
-
Copy full SHA for 608c9c5 - Browse repository at this point
Copy the full SHA 608c9c5View commit details
There are no files selected for viewing