solid-boundaries
solid-boundaries copied to clipboard
[BUG] Rename `createBoundaryTracker` in server.js to `trackBounds`?
Describe the bug
The exported function in server.js should match in name the one for client-side.
- I expect
trackBoundsto be available in server-side, even if I don't make use of it, because not having it can break the static site generation process. - But I find that
trackBoundsis not available when running Astro build (even if the exported TypeScript types say so), and I havecreateBoundaryTrackerinstead (which is not exposed in the exported types).
Additional context It seems both functions (even if they differ in behavior) are there to occupy the same place, that's why it seems a mistake to have them named differently.