Skip to content

Commit 339e6ae

Browse files
author
Leonardo Rick
committed
chore(routing): remove routing hooks and related context and providers
1 parent 5609cbe commit 339e6ae

File tree

14 files changed

+14
-356
lines changed

14 files changed

+14
-356
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## Release (2025-07-25)
4+
5+
@qonto/react-migration-toolkit 3.0.1 (patch)
6+
7+
#### :rocket: cleanup
8+
9+
- `@qonto/react-migration-toolkit`, `test-app`
10+
- Remove `useNavigate`, `useEmberRouter`, `useRouter` hooks.
11+
312
## Release (2025-07-02)
413

514
@qonto/react-migration-toolkit 3.0.0 (major)

react-migration-toolkit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qonto/react-migration-toolkit",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "A toolkit to help migrate Ember components to React",
55
"keywords": [
66
"ember-addon"
@@ -149,4 +149,4 @@
149149
"optional": true
150150
}
151151
}
152-
}
152+
}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export { PolymorphicRouterContextProvider } from './polymorphic-router-context';
2-
export { PolymorphicNavigateProvider } from './polymorphic-navigate-context';
31
export { ApplicationProvider } from './application-context';

react-migration-toolkit/src/react/contexts/polymorphic-navigate-context.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

react-migration-toolkit/src/react/contexts/polymorphic-router-context.tsx

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
export { useEmberService } from './use-ember-service';
22
export { useApplicationInstance } from './use-application-instance';
3-
export { useNavigate } from './use-navigate';
4-
export { useRouter } from './use-router';
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
export { useEmberIntl } from './use-ember-intl';
2-
export { useEmberRouter } from './use-ember-router';
3-
export { useNavigate } from './use-navigate';

react-migration-toolkit/src/react/hooks/providers/use-ember-router.ts

Lines changed: 0 additions & 40 deletions
This file was deleted.

react-migration-toolkit/src/react/hooks/providers/use-navigate.ts

Lines changed: 0 additions & 61 deletions
This file was deleted.

react-migration-toolkit/src/react/hooks/use-navigate.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)