Filip
Filip
SSolidJS
Created by musiclover on 7/31/2023 in #support
Should I use <Show>?
https://www.solidjs.com/tutorial/flow_show here - basically you can use React-style ternaries, but it's considered a good practice to use a Show component in Solid. also, your example is wrong - it should be isVisible(), not isVisible
8 replies
TTCTheo's Typesafe Cult
Created by josh-dev627 on 5/18/2023 in #questions
Shadcn fonts not working
shadcn Dialogs are rendering in a React portal outside of the root _app component. use next/font in your head to solve this: https://nextjs.org/docs/pages/building-your-application/optimizing/fonts#apply-the-font-in-head
5 replies
SSolidJS
Created by Filip on 4/24/2023 in #support
Vite app with Solid and React files simultaneously
Oh, it's already released, I just had an old version installed... 🤦‍♂️
3 replies
SSolidJS
Created by Filip on 4/24/2023 in #support
Vite app with Solid and React files simultaneously
I tried using the babel.only/babel.ignore options in vite-plugin-solid config, but it appears to me that the plugin itself still processes ignored files, just doesn't transform the JSX in them and in turn that results in build errors, of course. Do I have to wait for that PR https://github.com/solidjs/vite-plugin-solid/pull/94 to release?
3 replies