DEV Community

loading...

Discussion on: How to create an efficient Modal component in React using Hooks and Portals

Collapse
dastasoft profile image
dastasoft

Great article! I would suggest using modules for your css because the names are quite common and can easily be in conflict with other styles in your project, especially if you plan to export this as a component to others.

Collapse
codebucks profile image
CodeBucks Author

Thanks for this suggestion. I'll keep that in mindπŸ˜„

Forem Open with the Forem app