Files
homepage/src
Alexander Bocken 3fb0a72014
All checks were successful
CI / update (push) Successful in 1m20s
fix: rewrite CardAdd image upload using Svelte 5 best practices
Replace event handler approach with bind:files and $effect:
- Use bind:files on file input for reactive FileList binding
- Use $effect to react to file selection and handle validation
- Properly clean up blob URLs to prevent memory leaks
- Remove exported functions that aren't used externally
- Add key to each block for tags
- Fix self-assignment warning in tag handling

The previous implementation used onchange with this.files which doesn't
work in Svelte 5. The new approach uses the idiomatic bind:files pattern.
2026-01-20 17:18:25 +01:00
..
2023-06-24 15:35:36 +02:00