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 using Menu component in strict Mode #3936

Closed
raphaelpinel opened this issue Apr 21, 2020 · 3 comments
Closed

Warning using Menu component in strict Mode #3936

raphaelpinel opened this issue Apr 21, 2020 · 3 comments

Comments

@raphaelpinel
Copy link

Bug Report

Steps

Create a fresh react application with typescript template
npx create-react-app testProject --template typescript (in my case React 16.13.1)

Use <Menu> component

Expected Result

No warning in JS console

Actual Result

in chrome devTools console:
Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code [...] Please update the following components: Menu

Version

0.88.2

@welcome
Copy link

welcome bot commented Apr 21, 2020

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@AliTakrar
Copy link

i just install latest version and then all the warning goes away , at the moment i was use "semantic-ui-react": "^0.88.2" and after i install like this: npm i semantic-ui-react@latest
package.json didn`t change at all but all the warning goes away

@layershifter
Copy link
Member

A duplicate of #3919, for Menu will be solved with #3967.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants