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

componentWillMount removed #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

componentWillMount removed #227

wants to merge 1 commit into from

Conversation

mattlockyer
Copy link

removed componentWillMount and moved this._loadModule(); into componentDidMount.

squashes the warning as componentWillMount was marked as UNSAFE_componentWillMount().

removed `componentWillMount` and moved `this._loadModule();` into `componentDidMount`
@alex-zhang
Copy link

alex-zhang commented Mar 30, 2020

#220

@mattlockyer
Copy link
Author

@alex-zhang alternative?

@alex-zhang
Copy link

@alex-zhang alternative?

#220 (comment)

@bogas04
Copy link

bogas04 commented Nov 6, 2020

Any plans to merge this?

@hitmands
Copy link

hitmands commented Nov 8, 2020

Any plan to merge this?

@dagoltz
Copy link

dagoltz commented Jan 18, 2021

Can this be merged please?

@slorber
Copy link

slorber commented Feb 12, 2021

componentDidMount will not trigger during SSR.

For anyone interested, here's my solution to get rid of the warning (React 16 + 17) and still get this working (client+SSR).

#213 (comment)

@johnathanmelo
Copy link

Can this be merged please?

Repository owner deleted a comment from ygs-code Sep 6, 2022
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.

7 participants