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

Hot tip about custom variables #1459

Open
aerni opened this issue Sep 24, 2024 · 0 comments
Open

Hot tip about custom variables #1459

aerni opened this issue Sep 24, 2024 · 0 comments

Comments

@aerni
Copy link
Contributor

aerni commented Sep 24, 2024

I've run into a complex variable collision issue in Antlers with variables and nested partials. I've talked to @JohnathonKoster about it and there appears to be no real solution to the problem other than prefixing custom variables.

CleanShot 2024-09-24 at 10 12 25@2x

It would be great if the docs on creating variables had one of those hot tips about prefixing custom variables as a best practice. Or maybe even prefixing all custom variables in the docs examples as well.

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

No branches or pull requests

1 participant