|
708 | 708 | ``` |
709 | 709 |
|
710 | 710 | This initial implementation targets type inference for: |
711 | | -
|
712 | 711 | - `Params` : Path parameters from your routing config in `routes.ts` including file-based routing |
713 | 712 | - `LoaderData` : Loader data from `loader` and/or `clientLoader` within your route module |
714 | 713 | - `ActionData` : Action data from `action` and/or `clientAction` within your route module |
|
723 | 722 | ``` |
724 | 723 |
|
725 | 724 | Check out our docs for more: |
726 | | -
|
727 | 725 | - [_Explanations > Type Safety_](https://reactrouter.com/dev/guides/explanation/type-safety) |
728 | 726 | - [_How-To > Setting up type safety_](https://reactrouter.com/dev/guides/how-to/setting-up-type-safety) |
729 | 727 |
|
|
923 | 921 | - Vite: Provide `Unstable_ServerBundlesFunction` and `Unstable_VitePluginConfig` types ([#8654](https://github.com/remix-run/remix/pull/8654)) |
924 | 922 |
|
925 | 923 | - Vite: add `--sourcemapClient` and `--sourcemapServer` flags to `remix vite:build` ([#8613](https://github.com/remix-run/remix/pull/8613)) |
926 | | -
|
927 | 924 | - `--sourcemapClient` |
928 | 925 |
|
929 | 926 | - `--sourcemapClient=inline` |
|
1260 | 1257 | - 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)) |
1261 | 1258 |
|
1262 | 1259 | 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: |
1263 | | -
|
1264 | 1260 | - Leveraging a data source local to the browser (i.e., `localStorage`) |
1265 | 1261 | - Managing a client-side cache of server data (like `IndexedDB`) |
1266 | 1262 | - Bypassing the Remix server in a BFF setup and hitting your API directly from the browser |
|
1664 | 1660 | - Output esbuild metafiles for bundle analysis ([#6772](https://github.com/remix-run/remix/pull/6772)) |
1665 | 1661 |
|
1666 | 1662 | Written to server build directory (`build/` by default): |
1667 | | -
|
1668 | 1663 | - `metafile.css.json` |
1669 | 1664 | - `metafile.js.json` (browser JS) |
1670 | 1665 | - `metafile.server.json` (server JS) |
|
1762 | 1757 | - built-in tls support ([#6483](https://github.com/remix-run/remix/pull/6483)) |
1763 | 1758 |
|
1764 | 1759 | New options: |
1765 | | -
|
1766 | 1760 | - `--tls-key` / `tlsKey`: TLS key |
1767 | 1761 | - `--tls-cert` / `tlsCert`: TLS Certificate |
1768 | 1762 |
|
|
2033 | 2027 | ``` |
2034 | 2028 |
|
2035 | 2029 | The dev server will: |
2036 | | -
|
2037 | 2030 | - force `NODE_ENV=development` and warn you if it was previously set to something else |
2038 | 2031 | - rebuild your app whenever your Remix app code changes |
2039 | 2032 | - restart your app server whenever rebuilds succeed |
|
0 commit comments