From e1e41eff7f0c16994ffa3641bb2dabe40a07eb43 Mon Sep 17 00:00:00 2001 From: Patrick Lafrance Date: Fri, 13 Sep 2024 22:24:23 -0400 Subject: [PATCH] docs: Added a migration example (#199) --- docs/guides/migrate-to-firefly-v9.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/guides/migrate-to-firefly-v9.md b/docs/guides/migrate-to-firefly-v9.md index ef0ee142..4d63c780 100644 --- a/docs/guides/migrate-to-firefly-v9.md +++ b/docs/guides/migrate-to-firefly-v9.md @@ -295,6 +295,10 @@ const navigationElements = useRenderedNavigationItems(navigationItems, renderIte ## Migrate an host application +!!!info +A migration example from v8 to v9 is available for the [wl-squide-monorepo-template](https://github.com/gsoft-inc/wl-squide-monorepo-template/commit/87489f0541cc959f437133f2afd8c0a9db160efe). +!!! + The `v9` release introduces several breaking changes affecting the host application code. Follow these steps to migrate an existing host application: 1. Add a dependency to `@tanstack/react-query`. [View example](https://docs.npmjs.com/specifying-dependencies-and-devdependencies-in-a-package-json-file) @@ -363,6 +367,10 @@ export function App() { ## Migrate a module +!!!info +A migration example from v8 to v9 is available for the [wl-squide-monorepo-template](https://github.com/gsoft-inc/wl-squide-monorepo-template/commit/87489f0541cc959f437133f2afd8c0a9db160efe). +!!! + The changes in `v9` have minimal impact on module code. To migrate an existing module, follow these steps: 1. Convert all deferred routes into static routes. [View example](#removed-support-for-deferred-routes)