Goal
Move the React components/hook to a separate module entry point so consumers who use only the canvas API don't bundle React-specific code.
Proposed API
```tsx
import { FluidImage, FluidText } from '@jayf0x/fluidity-js/react';
import { FluidSimulation } from '@jayf0x/fluidity-js';
```
Acceptance criteria
Note: This is a breaking change if the main entry point stops exporting React components. Coordinate with changelog/versioning.
Files likely touched: package.json, vite.config.ts, src/index.ts, src/globals.d.ts, src/index.d.ts
Goal
Move the React components/hook to a separate module entry point so consumers who use only the canvas API don't bundle React-specific code.
Proposed API
```tsx
import { FluidImage, FluidText } from '@jayf0x/fluidity-js/react';
import { FluidSimulation } from '@jayf0x/fluidity-js';
```
Acceptance criteria
@jayf0x/fluidity-js/reactentry point exportsFluidText,FluidImage,useFluid@jayf0x/fluidity-js) exports only non-React codepackage.jsonexportsmap updatedNote: This is a breaking change if the main entry point stops exporting React components. Coordinate with changelog/versioning.
Files likely touched:
package.json,vite.config.ts,src/index.ts,src/globals.d.ts,src/index.d.ts