mlaursen / react-md

React material design - An accessible React component library built from the Material Design guidelines in Sass
https://react-md.dev
MIT License
2.34k stars 298 forks source link

Remove required id prop from all components (requires React 18) #1387

Open mlaursen opened 2 years ago

mlaursen commented 2 years ago

With the new release of React 18, it is now possible to generate unique IDs that are stable across server and client with the useId hook. This means I can remove the id requirement for all components and just use useId().

Additional Notes