zing
zing
DDeno
Created by Arkatme on 7/30/2023 in #help
Site runs fine but vscode is filled with errors.
haha sweet
8 replies
DDeno
Created by Arkatme on 7/30/2023 in #help
Site runs fine but vscode is filled with errors.
I've had similar things. Adding "deno.importMap": "deno.json" to .vscode/settings.json, with a window reload, solved a lot of these kinds of issues for me. Sometimes the editor does seem to get stuck though where everything is red, usually a window reload works as well.
8 replies
DDeno
Created by zing on 7/11/2023 in #help
Fresh pattern help
thanks 👍
7 replies
DDeno
Created by zing on 7/11/2023 in #help
Fresh pattern help
100%. Would need to persist it somehow in the island the first time the page loads. The cookie route seems cleaner in this case. Although I am trying to get my head around the possibilities because this is quite a common use case if I'm not mistaken. Submit form -> load new page with data from the the form.
7 replies
DDeno
Created by zing on 7/11/2023 in #help
Fresh pattern help
Thanks. I'll think about that. I suppose another way would be to set the form to POST directly to /chat, and then have a POST handler there that does a ctx.render(). Not sure about the downsides to either of these yet.
7 replies