Try "@preact/signals" integration
Opened this issue · 0 comments
subuta commented
- Transpile codes for npm distribution.
- SWC plugin of preact-signals/packages/react at main · XantreGodlike/preact-signals will be applied to
sigform
with currenttranspilePackages: ["sigform"]
setup and that cause some issue for react signals integration.
- SWC plugin of preact-signals/packages/react at main · XantreGodlike/preact-signals will be applied to
- Try this SWC plugin preact-signals/packages/react at main · XantreGodlike/preact-signals for Next.js example
- Simplify APIs by only expose
signal
instance instead of currentvalue / setValue / mutate