|
718 | 718 | ```
|
719 | 719 |
|
720 | 720 | This initial implementation targets type inference for:
|
721 |
| -
|
722 | 721 | - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing
|
723 | 722 | - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module
|
724 | 723 | - `ActionData` : Action data from `action` and/or `clientAction` within your route module
|
|
733 | 732 | ```
|
734 | 733 |
|
735 | 734 | Check out our docs for more:
|
736 |
| -
|
737 | 735 | - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety)
|
738 | 736 | - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety)
|
739 | 737 |
|
|
933 | 931 | - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654))
|
934 | 932 |
|
935 | 933 | - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613))
|
936 |
| -
|
937 | 934 | - `--sourcemapClient`
|
938 | 935 |
|
939 | 936 | - `--sourcemapClient=inline`
|
|
1270 | 1267 | - 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))
|
1271 | 1268 |
|
1272 | 1269 | 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:
|
1273 |
| -
|
1274 | 1270 | - Leveraging a data source local to the browser (i.e., `localStorage`)
|
1275 | 1271 | - Managing a client-side cache of server data (like `IndexedDB`)
|
1276 | 1272 | - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser
|
|
1674 | 1670 | - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772))
|
1675 | 1671 |
|
1676 | 1672 | Written to server build directory (`build/` by default):
|
1677 |
| -
|
1678 | 1673 | - `metafile.css.json`
|
1679 | 1674 | - `metafile.js.json` (browser JS)
|
1680 | 1675 | - `metafile.server.json` (server JS)
|
|
1772 | 1767 | - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483))
|
1773 | 1768 |
|
1774 | 1769 | New options:
|
1775 |
| -
|
1776 | 1770 | - `--tls-key` / `tlsKey`: TLS key
|
1777 | 1771 | - `--tls-cert` / `tlsCert`: TLS Certificate
|
1778 | 1772 |
|
|
2043 | 2037 | ```
|
2044 | 2038 |
|
2045 | 2039 | The dev server will:
|
2046 |
| -
|
2047 | 2040 | - force `NODE_ENV=development` and warn you if it was previously set to something else
|
2048 | 2041 | - rebuild your app whenever your Remix app code changes
|
2049 | 2042 | - restart your app server whenever rebuilds succeed
|
|
0 commit comments