Skip to content

Conversation

markerikson
Copy link
Collaborator

@markerikson markerikson commented Mar 25, 2021

This PR:

  • Updates createReducer to freeze the initial state by running it through Immer

Fixes #939

@netlify
Copy link

netlify bot commented Mar 25, 2021

Deploy preview for redux-starter-kit-docs ready!

Built with commit 5a2bf6c

https://deploy-preview-940--redux-starter-kit-docs.netlify.app

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5a2bf6c:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration

@github-actions
Copy link

Size Change: +62 B (0%)

Total Size: 69.5 kB

Filename Size Change
dist/redux-toolkit.cjs.development.js 13.8 kB +18 B (0%)
dist/redux-toolkit.cjs.production.min.js 5.27 kB +4 B (0%)
dist/redux-toolkit.esm.js 13.7 kB +17 B (0%)
dist/redux-toolkit.umd.js 25.6 kB +17 B (0%)
dist/redux-toolkit.umd.min.js 10.9 kB +6 B (0%)
ℹ️ View Unchanged
Filename Size Change
dist/index.js 149 B 0 B

compressed-size-action

@markerikson
Copy link
Collaborator Author

Looks good except for TS Next checks

@markerikson markerikson merged commit f05e3c6 into master Mar 25, 2021
@markerikson markerikson deleted the bugfix/freeze-initial-state branch March 25, 2021 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initial createReducer state is not frozen
1 participant