Adrian Hesketh
Adrian Hesketh
Please provide a reproducible example, with instructions of what to run, and explain what you expect to happen, and what is actually happening.
Nice. I'd love a PR on it. Crack on mate! 😀 If you don't have time, just say, and I'll get to it.
If you're looking at @tejing1's config and wondering how to adapt it for your use in flakes, this example I wrote might help. https://github.com/a-h/nix-copy-flake-inputs-to-store/blob/main/flake.nix ```nix { inputs = { nixpkgs.url...
Yes, no problem.
Created PR #47
I can see why you like the script templates. There might be some middle ground to hit in the future, but need to control the scope of what we're working...
Stability is important. Would never want to break people's code.
Also, if we _really_ wanted to remove something, we'd likely add an automatic migration feature, plus keep the old method around for at least two Go release cycles.
Hi folks. Quick update on this. The conversation carried on in #838, and has resulted in a PR: https://github.com/a-h/templ/pull/1038 With this change, there's no need to mess about with data...
https://templ.guide/syntax-and-usage/script-templates/#pass-server-side-data-to-the-client-in-a-script-element Check out `.WithNonce`.