Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/vanilla-widget-drop-react.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"@prosopo/procaptcha-common": minor
"@prosopo/procaptcha-frictionless": minor
"@prosopo/procaptcha-bundle": minor
"@prosopo/procaptcha-puzzle": minor
"@prosopo/procaptcha-react": minor
"@prosopo/procaptcha-pow": minor
"@prosopo/locale": minor
---

Replace React with vanilla TS/DOM in the widget.

The widget packages no longer depend on react, react-dom, @emotion or
react-i18next: every component is now a `mount*` function returning a handle
with `update`/`destroy`. `useTranslation` is replaced by `createTranslator`,
which exposes i18next's `t` plus the events that used to trigger a re-render.
The rendered markup, styling and behaviour are unchanged — only the
implementation is.
Loading
Loading