|
728 | 728 | ```
|
729 | 729 |
|
730 | 730 | This initial implementation targets type inference for:
|
731 |
| -
|
732 | 731 | - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
|
733 | 732 | - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
|
734 | 733 | - `ActionData` : Action data from `action` and/or `clientAction` within your route module
|
|
743 | 742 | ```
|
744 | 743 |
|
745 | 744 | Check out our docs for more:
|
746 |
| -
|
747 | 745 | - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
|
748 | 746 | - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
|
749 | 747 |
|
|
943 | 941 | - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
|
944 | 942 |
|
945 | 943 | - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
|
946 |
| -
|
947 | 944 | - `--sourcemapClient`
|
948 | 945 |
|
949 | 946 | - `--sourcemapClient=inline`
|
|
1280 | 1277 | - Add support for `clientLoader`/`clientAction`/`HydrateFallback` route exports ([RFC](https://github.com/remix-run/remix/discussions/7634)) ([#8173](https://github.com/remix-run/remix/pull/8173))
|
1281 | 1278 |
|
1282 | 1279 | Remix now supports loaders/actions that run on the client (in addition to, or instead of the loader/action that runs on the server). While we still recommend server loaders/actions for the majority of your data needs in a Remix app - these provide some levers you can pull for more advanced use-cases such as:
|
1283 |
| -
|
1284 | 1280 | - Leveraging a data source local to the browser (i.e., `localStorage`)
|
1285 | 1281 | - Managing a client-side cache of server data (like `IndexedDB`)
|
1286 | 1282 | - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
|
|
1684 | 1680 | - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
|
1685 | 1681 |
|
1686 | 1682 | Written to server build directory (`build/` by default):
|
1687 |
| -
|
1688 | 1683 | - `metafile.css.json`
|
1689 | 1684 | - `metafile.js.json` (browser JS)
|
1690 | 1685 | - `metafile.server.json` (server JS)
|
|
1782 | 1777 | - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
|
1783 | 1778 |
|
1784 | 1779 | New options:
|
1785 |
| -
|
1786 | 1780 | - `--tls-key` / `tlsKey`: TLS key
|
1787 | 1781 | - `--tls-cert` / `tlsCert`: TLS Certificate
|
1788 | 1782 |
|
|
2053 | 2047 | ```
|
2054 | 2048 |
|
2055 | 2049 | The dev server will:
|
2056 |
| -
|
2057 | 2050 | - force `NODE_ENV=development` and warn you if it was previously set to something else
|
2058 | 2051 | - rebuild your app whenever your Remix app code changes
|
2059 | 2052 | - restart your app server whenever rebuilds succeed
|
|
0 commit comments