DEV Community 👩‍💻👨‍💻

Discussion on: The case for * { margin: 20px }

Collapse
yyyyaaa profile image
Ha Gia Phat

If you don't want to pollute the global CSS namespace then you can use a pattern called "the Stack". It does the same thing but in the right way. Example implementation in React:

codesandbox.io/s/serverless-sky-2f...