Nice post! At first, I thought this was not a good pattern to define variables outside of the components themselves, but then again it's a great practice to maintain consistency across your project. Specially for those small details like state styling, border, shadows, etc.
I see you enjoy sharing visual content, framing screenshots is a great way to make your content stand out.
We've built a completely free and OSS tool to build engaging screenshots faster. Check it out and let us know what you think! usescreenshot.app/github I'd appreciate if you give it a Star in Github if you find it helpful.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice post! At first, I thought this was not a good pattern to define variables outside of the components themselves, but then again it's a great practice to maintain consistency across your project. Specially for those small details like state styling, border, shadows, etc.
I see you enjoy sharing visual content, framing screenshots is a great way to make your content stand out.
We've built a completely free and OSS tool to build engaging screenshots faster. Check it out and let us know what you think! usescreenshot.app/github I'd appreciate if you give it a Star in Github if you find it helpful.