kliuksas
_layouts are static / Server Side? How "any state set by middleware is available via props.state"
nice, glad you found out a solution for your case!
you might want to have a look at how tailwind can help with responsive design: https://tailwindcss.com/docs/responsive-design#targeting-a-single-breakpoint
chances are you wont need to tackle breakpoints with JS
13 replies
Restoring from backup on Deno Deploy
Hey again, maybe now that the holidays are over we could get some insight into this topic from the team?
@Marc pardon to put you on the spot, doing so cause we had a brief DM exchange. Maybe you would be able to point this to someone who has a moment to look into this? thanks!
9 replies
Restoring from backup on Deno Deploy
hey all! My OP is from nov 25th and the mentioned GH issues are from earlier. No response during this time, and i'm thinking it's due to (weirdly) low priority of the issue. Probably just not a lot of people need this.
maybe it would help to share it with more people, upvote this thread or smthng? I don't want to be spamming about the same thing too much 🙊
9 replies
_layouts are static / Server Side? How "any state set by middleware is available via props.state"
this is what i'm using: a single
_layout
in which this drawer compoent is rendered. some parts in the drawer are islands, so in my case it's more granular13 replies
_layouts are static / Server Side? How "any state set by middleware is available via props.state"
technically IMO it's fine to wrap the whole app in island (as in - it works), but it doesn't feel kosher indeed.
i spent like 10secs looking at your code so i don't know what you're really aiming for, but maybe a single layout would work in your case? check how daisyui is doing a drawer: https://daisyui.com/components/drawer/
13 replies
Need a little help with deno deploy for a newbie
here's a doc on how to set it up, in case you'd go that route: https://docs.deno.com/deploy/manual/ci_github/#github-actions
5 replies
Need a little help with deno deploy for a newbie
hey, the error you encounter seems to come from here: https://github.com/denoland/deployctl/blob/873e36ef145b98c8762b777e2b1532e4096f4f94/src/utils/token_storage.ts#L37
i'm guessing that it's looking for
credentials.json
file defined in config here: https://github.com/denoland/deployctl/blob/873e36ef145b98c8762b777e2b1532e4096f4f94/src/utils/info.ts#L13
but i don't have experience with deployctl
, i just set it up in github actions and it does the lifting for me. I just push to main
branch and project gets deployed5 replies
Restoring from backup on Deno Deploy
found 2 issues on
deploy_feedback
repo, with similar questions but lacking ideas for restore approaches:
https://github.com/denoland/deploy_feedback/issues/651
https://github.com/denoland/deploy_feedback/issues/407
Anyone has any tips on how to approach the snapshot restore? or backups in general of Deno KV?9 replies