get lots of warning information when using Menu component
See original GitHub issueVersion
3.0.1
Environment
react v16
Reproduction link
https://github.com/limengke123/blog_react
Steps to reproduce
when using Menu component,this will be found
What is expected?
no error
What is actually happening?
the Menu component works correctly , but got lots of warning infomation in Console.
e.g.
React does not recognize the inlineIndent
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase inlineindent
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Alerts - Presentation - Human Interface Guidelines - Design
An alert gives people critical information they need right away. For example, an alert can tell people about a problem, warn them when...
Read more >Material UI Menu using routes - reactjs - Stack Overflow
I implemented LeftNav using routes, but I could not find a way to get IconMenu, or Menu working with links or routes. Anyone...
Read more >Create an alert to get notified when a file or folder changes in ...
You can get an alert whenever a file, link, or folder is changed in a SharePoint document library. Depending on the item (file,...
Read more >React Alert component - Material UI - MUI
An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
Read more >Menu - Ant Design
Side navigation provides the multi-level structure of the website. More layouts with navigation: Layout. Notes for developers. Menu is rendered as a ul...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@yesmeck @kkuzmina You get the error if you nest vanilla HTML elements, but you can nest react
Components
.So wrapping your HTML elements in a
Component
is an option if you want to place something else than aMenu.item
in a menu.Don’t put
<a className="logo" to="/" />
underMenu
directly.