Huilen
Huilen
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Huilen on 7/13/2024 in #questions
is it wrong to call myself a software engineer if i didn't go to college
thats it
12 replies
TTCTheo's Typesafe Cult
Created by Huilen on 7/13/2024 in #questions
is it wrong to call myself a software engineer if i didn't go to college
ye
12 replies
TTCTheo's Typesafe Cult
Created by Huilen on 7/13/2024 in #questions
is it wrong to call myself a software engineer if i didn't go to college
so its the same if i put "web developer" on my title or if i put "software engineer"?
12 replies
TTCTheo's Typesafe Cult
Created by kal on 5/17/2024 in #questions
Include padding bottom when overflow-y-scroll
the google auth credentials are the hard part haha
39 replies
TTCTheo's Typesafe Cult
Created by kal on 5/17/2024 in #questions
Include padding bottom when overflow-y-scroll
can i set it up on my machine? do you have deplyoed it somewhere?
39 replies
TTCTheo's Typesafe Cult
Created by kal on 5/17/2024 in #questions
Include padding bottom when overflow-y-scroll
but
39 replies
TTCTheo's Typesafe Cult
Created by kal on 5/17/2024 in #questions
Include padding bottom when overflow-y-scroll
better to continue working on the proejct
39 replies
TTCTheo's Typesafe Cult
Created by kal on 5/17/2024 in #questions
Include padding bottom when overflow-y-scroll
i think its better to fix it fast rather than spending so much time trying to debug it
39 replies
TTCTheo's Typesafe Cult
Created by kal on 5/17/2024 in #questions
Include padding bottom when overflow-y-scroll
sure
39 replies
TTCTheo's Typesafe Cult
Created by kal on 5/17/2024 in #questions
Include padding bottom when overflow-y-scroll
hi
39 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
@io did it work?
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
hi
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
action.ts

'use server'

export function doSomething(){}
action.ts

'use server'

export function doSomething(){}
client-component.tsx

'use client'

import { doSomething } from './action.ts'

function MyForm(){
return (
<form action={doSomething}> </form>
)
}
client-component.tsx

'use client'

import { doSomething } from './action.ts'

function MyForm(){
return (
<form action={doSomething}> </form>
)
}
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
and then passing it
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
importing the function
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
try to create the server action on another file
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
you can pass an action to aform even if the form is use client
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
you cant run zustand on the server
11 replies
TTCTheo's Typesafe Cult
Created by io on 5/30/2024 in #questions
How to use state management (Zustand) but still make use of "use server"
hi
11 replies
TTCTheo's Typesafe Cult
Created by Royal Lobster on 6/8/2024 in #questions
Creating this layout in Nextjs with RSC with URL state
you can do something like this:
/[id]/[color]/
/[id]/[color]/
you create two layouts, one for /[id] and another for /[color] in the layout of /[id] you put the squares and use usePath() to check if the path has a color, and if the color matches one of the squares, you change its style. in the layout of /[color] you put the sidebar, and using the params the layout will receive, you can change its style too
11 replies