tizu
tizu
Explore posts from servers
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
https://github.com/solidjs/solid-router/pull/426 oh lmao did you pr parallel routes
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
so for example settings pages would be in that drawer, going back goes back a settings page, or you could dismiss it entirely by swiping down
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
I mean thats a stretch, but my idea was kinda that (aside from the root ui) everything would be either outside or inside that drawer; but the drawer would also have navigation inside it
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
wait actually thats smart i think
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
oh like that
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
what do you mean
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
not sure I understand?
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
but could I have the entire ui, including drawer, be in a layout, and then the drawer state is inferred by the actual route?
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
okay this is quite a hack I guess
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
I mean
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
yeah, it kinda is parallel routes :)
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
No description
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
okay well actually wait, I should clarify
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
not sure if I like that; that won't really work with the drawer then no?
28 replies
SSolidJS
Created by tizu on 2/23/2025 in #support
router: "background" page
hmmmm
28 replies
SSolidJS
Created by tizu on 2/16/2025 in #support
reference child component as ref?
never mind - this works.
<Menu trigger={(p) => (
<button class="btn icon" {...p}>
<UserIcon class="size-6" />
</button>
)}>
<Menu trigger={(p) => (
<button class="btn icon" {...p}>
<UserIcon class="size-6" />
</button>
)}>
const Menu = (p: {
trigger?: (p: { ref: () => void; onClick: () => void }) => JSX.Element;
// ...
}) => {
const Menu = (p: {
trigger?: (p: { ref: () => void; onClick: () => void }) => JSX.Element;
// ...
}) => {
<>
{p.trigger?.({ ref: setReference, onClick: () => setOpen(!open()) })}
</>
<>
{p.trigger?.({ ref: setReference, onClick: () => setOpen(!open()) })}
</>
2 replies
TTCTheo's Typesafe Cult
Created by tizu on 9/1/2024 in #questions
tailwind ui library or do I build myself?
iirc chakra got the same issue :LUL:
15 replies
TTCTheo's Typesafe Cult
Created by tizu on 9/1/2024 in #questions
tailwind ui library or do I build myself?
ah, fair. I'm not sure if I like that tbh, but I'll consider it
15 replies
TTCTheo's Typesafe Cult
Created by tizu on 9/1/2024 in #questions
tailwind ui library or do I build myself?
honeslty chakra looks promising imo. but im not a fan of mixing non-tw and tw
15 replies
TTCTheo's Typesafe Cult
Created by tizu on 9/1/2024 in #questions
tailwind ui library or do I build myself?
aldoe it is a bit too monotone for me, idk
15 replies