Skip to content

0.3.2 — an import that can't be tree-shaken

Choose a tag to compare

@HomemadeToast57 HomemadeToast57 released this 28 Jul 22:46

React apps should now create their client with:

import { createBoolClient } from "bool-sdk/react";

This makes arming the live hook a side effect of needing something you already need. A used binding can't be tree-shaken by any bundler under any configuration — verified against "sideEffects": false, the config that broke published apps on 0.3.0.

Nothing removed: the old import "bool-sdk/react" shape still works and is still covered by sideEffects.