Adrian Hesketh
Adrian Hesketh
I'd normally recommend a view model approach as per https://templ.guide/core-concepts/view-models to keep the template logic as small as possible. There is a plan to add arbitrary code blocks into templ,...
@urmet, nice idea, but I'm not sure it's a good idea to recommend summing into a global variable, since it will be shared by all concurrent HTTP requests. I'm not...
Yes, that's what I think works best! It's nothing to with templ or Go specific, but I noticed you were using floats for money. You might want to switch to...
Great stuff! Looks like this issue can be closed then, unless you think something is missing from the docs?
Thanks, that all looks like useful information!
Thanks for the PR. I think this might be the wrong place for this example though? This documentation section file is about IDE support, and this example seems to be...
Apologies. I want to have a good sit down and really understand it. With the holidays, I've just been picking up small stuff. I will get on it though, I'm...
Brilliant work, thanks a lot. I think it's worth a blog post to explain the improvement, and how it's a potential game changer for development experience with templ. If you...
@philippefuentes the issue I had was inconsistent notifications. Sometimes it would work, sometimes not.
Basically, the watch implementation needs some automated integration tests, including one that can be ran for extended periods to identify issues that crop up over time.