#How I can implement routes?

1 messages · Page 1 of 1 (latest)

trim forge
#

I have an Electron App that will have a lot of routes, like /login, /home, /machines/:id/detail, /machines/list

And I need be able to switch between this routes, and redirect between this routes?

What the community most use to handle this?

clever cedar
#

Usually libraries such as React, Angular...

trim forge
#

react-router-dom maybe?

clever cedar
#

yes

trim forge
#

but how do I handle the multiple renderers?

clever cedar
#

multiple renderer?

trim forge
#

yes, I have login.ts and the machines.ts, that render diferents components

clever cedar
#

is it a react application?

trim forge
#

yes