peculiarnewbie
TTCTheo's Typesafe Cult
•Created by Chandra on 2/1/2025 in #questions
What is best charts lib for chart like trading view?
there's also ag charts but most of it are paid
4 replies
TTCTheo's Typesafe Cult
•Created by hezz on 1/30/2025 in #questions
Cloudflare secrets
ah you're using wrangler to deploy. for future reference you can use
--env
flag for passing your own environment to deploy, or use --keep-vars
to prevent them deleting stuff set in the dashboard. https://developers.cloudflare.com/workers/wrangler/commands/#deploy
I personally prefer to connect the worker to a github repo and have the vars in dashboard and .dev.vars6 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/31/2025 in #questions
Prevent router.refresh() from remounting client components
ah i misunderstood, another option you can try is use useMemo
11 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/31/2025 in #questions
Prevent router.refresh() from remounting client components
are you talking in dev or in prod? https://react.dev/reference/react/useEffect#my-effect-runs-twice-when-the-component-mounts
11 replies
TTCTheo's Typesafe Cult
•Created by braejay99 on 1/31/2025 in #questions
Deploying Bun Websocket Server
fly.io would be good. another option is if you're ok with it not being up all the time, you can just spin up a local server and share them through cloudflare tunnels https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-local-tunnel/
2 replies
TTCTheo's Typesafe Cult
•Created by hezz on 1/30/2025 in #questions
Cloudflare secrets
yes, you can set them up in the dashboard, then use .dev.vars locally https://developers.cloudflare.com/workers/configuration/secrets/
6 replies