DEV Community


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

dastasoft profile image

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.

codebucks profile image
CodeBucks Author

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

Forem Open with the Forem app