Emotion + hooks + typescript = a delightful experience. #2511
TimRJensen
started this conversation in
General
Replies: 1 comment
-
Thank you for the kinds word. I'm very glad you enjoy it :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So, I'm developing a SOMe "platform" for the Danish Technical Museum. Platform is quoted because it's really just a mock-up of a potential platform for a course I'm taking. Now, I'm no expert frontend developer, frankly all I know is self-taught. I do however know that CSS is an absolute pain :> With that in mind I've always looked for alternatives; in the past it almost always ended up being JSS. This time however I threw myself at SASS, which is fine. However a preproccessor can only achieve so much, and when the app needed dynamic styling, I decided to try out Emotion:
defaultTheme.ts
useCSS.ts
SomeComponent.tsx
After implementing Emotion I'm getting cleaner and better code, I develop faster and can create rather advanced styles. It's just a great development experience. SASS and CSS-loader can suck it XD.
Anyways, what I'm trying to say is thank you. This module is fantastic.
Cheers,
Tim.
N.B.: Some of the above code have been written in free hand and might contain typos. I'm highly dependent on VSCode to catch 'em.
Beta Was this translation helpful? Give feedback.
All reactions