Skip to content

feat: $languages#1614

Closed
rbalet wants to merge 1 commit intodevelopfrom
feat/$languages
Closed

feat: $languages#1614
rbalet wants to merge 1 commit intodevelopfrom
feat/$languages

Conversation

@rbalet
Copy link
Copy Markdown
Collaborator

@rbalet rbalet commented Feb 18, 2026

Description

  • Add the $languages signal.
  • Refactor the language-switch example to not use function directly inside HTML template

Why?

Using function directly in html should be avoided.
So, for an optimized implementation, a user should subscribe to the languages change, and update a signal himself for the change to be visible.

$languages aime to reduce this complexity

Side Note

I couldn't run pnpm format as it changes a few places inside the codebase.

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