Skip to content
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

Do not mutate layouts prop (#1063) #1064

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

darekkay
Copy link
Contributor

@darekkay darekkay commented Nov 1, 2019

Mutating the layout props is discouraged in React. It may crash the application when the immer library is being used.

Fixes: #1063

Copy link
Collaborator

@n1ghtmare n1ghtmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@STRML STRML merged commit e3e0e82 into react-grid-layout:master Nov 20, 2019
@STRML
Copy link
Collaborator

STRML commented Nov 20, 2019

Thanks!

@darekkay darekkay deleted the fix/mutating-props branch November 20, 2019 19:52
@misha-panyushkin
Copy link

@STRML is there a chance to get the new release in the nearest future?

@dmitrif
Copy link

dmitrif commented Feb 11, 2020

Any update on the release, @STRML ? Thank you.

@STRML
Copy link
Collaborator

STRML commented Feb 25, 2020

Releasing now in 0.18.0. Just finishing up the changelog.

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.

ResponsiveReactGridLayout mutates props
5 participants