New UI Kit routing components and hooks now available in Preview
- Announced
- APIs
- forge-core-platform
- Severity
- notable, set by
reef/atlassian-rule-v1 - Source
- https://developer.atlassian.com/changelog/#CHANGE-3251
We've added new convenience components and hooks for routing in UI Kit. These are now available in Preview in the latest version of @forge/react.
Routing is available in any full-page module and enables your app to manipulate the current page URL using a familiar API.
What’s changing
You can now use the following components and hooks to manage navigation within your Forge apps:
What you need to do
To use these new features, update to the latest version of the @forge/react package. In your terminal, run the following command from your project directory:
npm install --save @forge/react@latest
For implementation details and code examples, refer to the documentation links above.
The text above is Atlassian's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.