score:4
Accepted answer
these components follow the material design standards, so their intended use would follow the standards.
for menu:
menus display a list of choices on a transient sheet of material.
for list:
lists present multiple line items vertically as a single continuous element.
so while they're similar, i think the key difference is that menu
is intended for a transient selection, presented within something like a dialog or modal.
Source: stackoverflow.com
Related Query
- When should I use Lists vs Menus in Material-UI?
- React Context vs React Redux, when should I use each one?
- React functional stateless component, PureComponent, Component; what are the differences and when should we use what?
- What is {this.props.children} and when you should use it?
- When should you NOT use React memo?
- When should you use render and shallow in Enzyme / React tests?
- Should you ever use this.setState() when using redux?
- You should not use Route or withRouter() outside a Router when using react-router 4 and styled-component in react
- Should I wrap every prop with useCallback or useMemo, when to use this hooks?
- When to use 'classes' vs 'className' with Material UI?
- When should I use Snapshot testing?
- When should I use Redux Saga instead of Redux Thunk, and when should I use Redux Thunk instead of Redux Saga?
- When should I use brackets with imports
- MobX - Why should I use `observer` when I could use `inject` when injecting data into a React component
- Should one use const when declaring an arrow function in React class
- When should I use Redux in my react application?
- When should I use getInitialState in a React component
- When should one use jest snapshot testing vs just regular assertions in unit test?
- Why do Material UI tabs stop working when I use a .map to populate the content dynamically instead of hard coding?
- In React JS, when should you use a store vs directly manipulating the view's state?
- In a React Component, what's the difference between foo(){} and bar = () => {} and when should I use which?
- When should we use anonymous function in event listener in react?
- Error when running unit test "You should not use <Link> outside a <Router>"
- What should I use instead of document.queryselector() when using React?
- REACT: What I should write in propTypes when in form I use input type="file'?
- When should I use a this.context vs Consumer in the New Context API in React?
- react says Error: Invalid hook call when I try to use material makestyles
- Which React cycle method should I use to re-render component when redux state has changed?
- Should i use normal tag when i am using style component?
- When should I use useEffect hook instead of event listeners?
More Query from same tag
- Flux/React Complex Reusable Component
- Trouble adding Bootstrap 4 CSS with Webpack 4 in ReactJS SpringBoot Application
- Add iframe to React Component
- Using react-i18next with React standalone component - 'missingKey' error
- Initial production build creates bundle code, but all subsequent builds reuse old bundle
- Posting array of objects to REST API with ReactJS
- How to fix react-dates SingleDatePicker invalid date?
- Sort by Capacity and Name in ReactJS using array sort()
- How to properly extend a TypeScriot Interface? There should be only 1 child
- Trying to render multiple reacts to multiple divs rather than an ID
- Gatsby default starter
- Function passed to element ref in React never runs
- React App: How to display data from api using fetch
- React: passing parent state to child when the parent state is sourced and modified from external classes acting as a property in the parent
- Stop react causing an infinite loop using useEffect hook
- React Router Dom doesn't redirect me after signing in
- Update two dimensional array using useState
- How do I access the index of a selected item in list using React and Material UI?
- Redux-form, Invalid prop 'value' of type 'number' supplied to 'TextInput', expected 'string'
- pushState in React + Redux using connected-react-router
- Console warning from antd table. Warning: Each child in a list should have a unique "key" prop
- mobx-deep-action with Typescript async/await functions and @action decorator
- React Material UI DropDown Menu Doesn't Work
- React.memo behaviour
- Send initial value to parent component
- How to load JSON file dynamically on react app
- Perform a get request from a service worker based from Angular
- AsyncStorage.setItem Callback Always Null
- How can I check if signOut was called in this test with Jest?
- Image Tag Not Displaying Image