gaearon / gaearon/react-proxy

Consider forcing remount with some heuristics

Open
#15 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
453
Forks
43
PR merge metrics
No merged PRs in 30d

Description

If constructor, `componentWillMount`, or `componentDidMount` code changed, we should probably force remounting. We can use `toString()` to check (it won't work for classic components though, as their method implementations are inside React itself so that they work with mixins).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.