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

Warning about moving code from componentWillMount to componentDidMount #28

Open
rostamia opened this issue Jun 30, 2023 · 0 comments
Open

Comments

@rostamia
Copy link

Seem to be getting this message when using react-jotform-embed v1.1.3 with react v18.2.0

  • Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.

Please update the following components: JotformEmbed
at JotformEmbed (\react-jotform-embed\lib\cjs\react-jotform-embed.js:84:5)
at div
at \react-bootstrap\cjs\Col.js:72:8
at div
at \react-bootstrap\cjs\Row.js:22:3
at div
at \react-bootstrap\cjs\Container.js:24:3
at section
at Contact
at main
at div
at SSRProvider (@react-aria\ssr\dist\main.js:33:13)
at Layout (webpack-internal:///./src/components/Layout.js:31:32)
at App (webpack-internal:///./src/pages/_app.js:33:16)
at StyleRegistry (\styled-jsx\dist\stylesheet-registry.js:231:34)
at AppContainer (\next\dist\server\render.js:390:29)
at AppContainerWithIsomorphicFiberStructure (\next\dist\server\render.js:420:57)
at div
at Body (\next\dist\server\render.js:688:21)

More info about componentWillMount at https://sentry.io/answers/componentWillMount-has-been-renamed/

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

No branches or pull requests

1 participant