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

Use idiomatic svelte syntax for setting attribute values #567

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

ttytm
Copy link
Contributor

@ttytm ttytm commented Dec 3, 2024

The PR includes a minor refactor, moving towards a less verbose syntax, that is idiomatic to Svelte.

To share references regarding the syntax, the last code block in this tutorial link: https://svelte.dev/tutorial/svelte/dynamic-attributes, or the code blocks shown in this tutorial link: https://svelte.dev/tutorial/svelte/classes, could serve as examples.

@ttytm ttytm force-pushed the refactor/svelte-idiomatic-syntax branch from 2b5eec7 to 49cf1aa Compare December 3, 2024 10:05
Copy link
Owner

@inokawa inokawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@inokawa inokawa merged commit e0cf30d into inokawa:main Dec 3, 2024
5 checks passed
@ttytm ttytm deleted the refactor/svelte-idiomatic-syntax branch December 3, 2024 11:31
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.

2 participants