v0.4.1
Release v0.4.1
This release includes all changes since the previous version.
Installation
npm install langsys-js-react@0.4.1Changes in this release
29b67d9
docs: warn against bare {key} placeholders in JSX
JSX evaluates a literal {count} as an expression before the SDK's DOM
walker sees the text, silently breaking params interpolation (phrase
registers pre-substituted). Document the {'{count}'} string-literal form
in the Translate params section, matching the existing note.
9fee717
docs: adopt %key% markup placeholders; base SDK ^0.4.1
The base SDK now accepts %key% as a compile-safe placeholder in
/ markup (a bare {key} in JSX is a JS expression that
never reaches the SDK). %key% normalizes to canonical {key} at capture,
so translators/catalog still see {key} and both spellings share one
content-block id.
- bump langsys-js-typescript to ^0.4.1
- swap README + component docstrings from {'{count}'} to %count%,
replace the brace-collision warning with %key% guidance - add a live demo to example/App.tsx
- no wrapper API change
[Version bumped to 0.4.1]
Full Changelog
See the commit history for a complete diff of all changes.