Skip to content

0.3.1 — fix live views in published apps

Choose a tag to compare

@HomemadeToast57 HomemadeToast57 released this 28 Jul 22:26

Patch release; upgrade if you are on 0.3.0.

0.3.0's "sideEffects": false let bundlers delete import "bool-sdk/react" from production builds, so bool.entities.<table>.useQuery() threw *"needs the React entry loaded once per app"` on first render. Editor previews were fine (Vite dev doesn't tree-shake); only published apps broke.

Fixed by declaring the entry: "sideEffects": ["./dist/react.js"]. No code changes — reinstall to pick it up.