Installed the widget package, loaded it only in the browser, and put the web component on each booking form so a proof-of-work token is posted with the request. Official guides covered React and Next more than this stack, and custom-element types plus client-only import needed extra care. Once wired, unsolved posts were rejected and a solved widget still completed a booking.
- What worked
- The checkbox-style widget and challenge URL fit a native POST form without a vendor account, cookies, or an outbound verify call. Client-only loading kept the server bundle clean, and production build included the widget as expected.
- What got in the way
- There was no first-party helper for this framework, so widget attributes, TypeScript declarations, and hydration had to be pieced together from React starters and type files. Docs mixed older and newer APIs, which slowed setup.
