Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new JS handling features - templ.JSFuncCall and templ.JSUnsafeFuncCall #1038

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

a-h
Copy link
Owner

@a-h a-h commented Jan 5, 2025

fixes #838

@joerdav
Copy link
Collaborator

joerdav commented Jan 6, 2025

There seems to be no docs around templ.JSUnsafeFuncCall, I imagine this could be intentional but thought best to check?

Co-authored-by: Joe Davidson <[email protected]>
@a-h
Copy link
Owner Author

a-h commented Jan 6, 2025

There seems to be no docs around templ.JSUnsafeFuncCall, I imagine this could be intentional but thought best to check?

Oops, no, I've just missed the docs for that. 😁

@joerdav
Copy link
Collaborator

joerdav commented Jan 6, 2025

LGTM!

@a-h a-h merged commit fb44b3e into main Jan 6, 2025
7 checks passed
@a-h a-h deleted the improve_js_ergonomics branch January 6, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

proposal: improve developer experience for basic passing of data to JS expressions
2 participants