#PNPM equivalent of Styled Components
28 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
maybe try adding node-linker=hoisted to an .npmrc file and then run pnpm i again?
that might get styled components working
@delicate jacinth any luck?
No, I tried “DaisyUI”, but it’s not good
no i mean have you tried getting styled-components working with the settings i suggested above
i think that could make it work with pnpm
Not yet, I created a new project that dosnt use neon or drizzle, they’re a joke to work with
It is possible, there are some threads in it from long ago but I too dropped SC after it seemed to be dying and didn’t support pnpm.
Ended up moving to tailwind and it grew on me, but here are alternatives I liked:
and by dying I mean, dropping styled-system, slower contributions to the core repo, and questionable RSC support (this may have since been fixed)
im very confused - we are talking about styled-components yes?
database choice may not be relevant at the moment
I’ve tried that once, it seems confusing
The reason why I’m not using pnpm is because first, it’s really annoying using neon and drizzle, but then… when styled components didn’t work right….. that made me want to stop with that project…. It’s drizzle and neon are pretty bad
Is it better than npm? I heard in some tutorial that pnpm is better then npm, that’s why I started into that project right away.
yeah its a little bit better than npm
has some nice features (like yarn upgrade-interactive) and while its faster than npm, its not as fast as pnpm
also has much less compatability issues than with pnpm
Ok 👍 does it have any security issues with Mac?
nope
its developed by facebook and its very widely used
probably more popular than pnpm just because its more mature
Ok 👍 well, neon and drizzle requried pnpm, that’s the main reason why I even installed it.
Idk if yarn uses all the features that they “require” to be able to use to
generally you can interchange pnpm and yarn.
Don’t want to reduce them to simple trade offs, but generally in my experience pnpm has better monorepo support, yarn is more mature (though pnpm is totally stable).
seems like theres a yarn option https://orm.drizzle.team/docs/get-started-postgresql#neon-postgres
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.