tpmjs/apps
Ajax Davis ad811134da fix(ui): make RadioGroup SSR-compatible while preserving runtime validation
- Update useRadioGroup hook to return default values during SSR/prerendering
- Still throws error in browser and test environments when Radio is outside RadioGroup
- Add dynamic='force-dynamic' export to playground page
- Fixes Next.js build error: "Radio must be used within a RadioGroup"

All tests pass (58 Radio tests), including the test that validates the error is thrown.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 02:38:55 +10:00
..
web fix(ui): make RadioGroup SSR-compatible while preserving runtime validation 2025-11-27 02:38:55 +10:00