remix@3.0.0-alpha.3
Breaking Changes📦 remixView on GitHub →
⚠ 1 breaking✨ 1 features🔧 13 symbols
Summary
This pre-release introduces granular exports via `package.json` for various internal packages and removes the root export from the main `remix` package, necessitating import path updates.
⚠️ Breaking Changes
- The root export from the `remix` package has been removed. Users must now import everything from sub-paths, such as `remix/fetch-router` or `remix/component`, instead of directly from `remix`.
Migration Steps
- Update all imports from the root `remix` package to use specific sub-path imports, for example, change `import { X } from "remix";` to `import { X } from "remix/sub-path";`.
✨ New Features
- Added new `package.json` `exports` for re-exporting APIs from various `@remix-run/*` packages under specific sub-paths of `remix` (e.g., `remix/data-schema`, `remix/data-table-mysql`, etc.).