Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

disposeOnUnmount not working on prototype #702

Closed
jer-sen opened this issue Jun 13, 2019 · 4 comments
Closed

disposeOnUnmount not working on prototype #702

jer-sen opened this issue Jun 13, 2019 · 4 comments
Labels
fix published Issue author should verify the fix react-native

Comments

@jer-sen
Copy link

jer-sen commented Jun 13, 2019

When I use disposeOnUnmount as a decorator on a property of a React.Component with React Native, I get the error Attempting to change configurable attribute of unconfigurable property.

A workaround is to change this line

configurable: false,
with configurable: true.

[email protected] [email protected] [email protected]

@mweststrate
Copy link
Member

This might be fixed once #703 is merged

@mweststrate
Copy link
Member

Please check if 6.1.0 solves the problem.

@danielkcz danielkcz added fix published Issue author should verify the fix and removed has PR Has PR, so will be fixed soon needs reproduction labels Jun 19, 2019
@danielkcz
Copy link
Contributor

Closing as it should be fixed. If the problem persist, please open a new issue with reproduction on the latest package version.

@lock
Copy link

lock bot commented Jun 24, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fix published Issue author should verify the fix react-native
Projects
None yet
Development

No branches or pull requests

3 participants