Css modules - Vite? or React?


I’m taking the React 18 for Beginners course, and my question is: does css modules work only when using vite?

In the video it says something about vite creating the sufixes of the css classNames seen in the dev tools, once the web is rendered.

So: Is that correct? are modules a feature of Vite? or a feature of React?


if you mean those “css.module.css” thingy then yes, It is feature of React

1 Like