Skip to content

Update example-reducer.md#734

Merged
mweststrate merged 1 commit intoimmerjs:masterfrom
conradkirschner:patch-1
Jan 11, 2021
Merged

Update example-reducer.md#734
mweststrate merged 1 commit intoimmerjs:masterfrom
conradkirschner:patch-1

Conversation

@conradkirschner
Copy link
Copy Markdown
Contributor

makes it more eaiser to see, where developers have to move their inital state.

prevents some reading issues that creates stuff like:
const byId = produce((draft = INITAL_STATE, action) => {

makes it more eaiser to see, where developers have to move their inital state. 

prevents some reading issues that creates stuff like: 
const byId = produce((draft = INITAL_STATE, action) => {
@codesandbox-ci
Copy link
Copy Markdown

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 6c23777:

Sandbox Source
Immer sandbox Configuration

@mweststrate
Copy link
Copy Markdown
Collaborator

Thanks!

@mweststrate mweststrate merged commit 5379cdd into immerjs:master Jan 11, 2021
@mweststrate
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 8.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants