Skip to content

Commit

Permalink
docs: Added a migration example (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklafrance committed Sep 14, 2024
1 parent 1016a2a commit e1e41ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/guides/migrate-to-firefly-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e1e41ef

Please sign in to comment.