How do I split my app into different screens
The most simple way is to use the light-weight router from the @deskpro/apps-sdk-react
package. The router is an object with a method named to
that allows you to change the current screen when called with a screen name:
You can also pass parameters to your screen:
You will need to import the router components:
In your render method, wrap your screens in Route
containers:
Last updated