v0.17.0: Merge pull request #97 from robisim74/dev-inline-v3
Qwik version: ^1.2.18
What's new
This release adds support for inlining also in dev mode, removes the context for inlined translations and replace translation functions:
- same behavior in dev and prod mode
- reduce the usage of scoped translation
- hot reload for json changes
inlineTranslate
&inlinePlural
functions:- work in props and attributes
- work out of context
- translating meta tags in head no longer requires dynamic translations
- can work on server
- routing functions:
localizePath
andtranslatePath
Breaking changes
- Old
inlineTranslate
=> newinlineTranslate
without context - Rename
useTranslate
toinlineTranslate
- Rename
usePlural
toinlinePlural
- Remove
QwikSpeakProvider
component =>useQwikSpeak
- Remove
Speak
component =>useSpeak
- Testing:
QwikSpeakProvider
component =>QwikSpeakMockProvider
component
Please, check the docs, quick start and tutorials for more details.