goto function
Implementation
void goto(ComponentContext ctx, String path) {
final route = ctx.globalState<String>('route');
route.set((state) => path);
window.history.pushState(null, '', '#$path');
}
void goto(ComponentContext ctx, String path) {
final route = ctx.globalState<String>('route');
route.set((state) => path);
window.history.pushState(null, '', '#$path');
}