Results 13 comments of eric

![0CF09FD5C6E632CE6837D6B012FA34B3](https://user-images.githubusercontent.com/26272801/131206332-c39c116a-e46b-4cfd-870f-0ddf6539bef2.gif)

![19D93AE411E85B2AED7C8978884D8DE0](https://user-images.githubusercontent.com/26272801/131206358-ceca2383-3364-45d8-8aa5-7f4d92194ed3.gif)

> ## What happens? > 在vue-router 中 调用 push后, 内部执行了 路由守卫, 并执行了 history.pushState 本身是不会触发 popstate 事件, 但是 single-spa 劫持了 pushState 方法, 手动创建了一个 popstate 事件. 所以导致了 vue-router 的 navigate 走了两遍 ,...

> > > You can add declarations in the d.ts file, like this > > > ```ts > > > declare module "router-remote/*"{} > > > ``` > > >...

After I checked, I found that the mode of the registerPlugins function is env.mode. If the user uses --mode test to execute the packaging command, it will result in an...

It is recommended to change the mode attribute of the options of federation to a mandatory item, which is controlled by the user

原生小程序下的组件还不支持自定义钩子,比如 onReadyUserInfo 没有触发

这个写法挺好的,希望作者兼容下原生小程序的组件,因为确实有写场景需要在组件内部依赖用户信息的

![image](https://github.com/1977474741/spa-custom-hooks/assets/26272801/44d06277-0da8-4283-9fc2-d5ac5913fcb1) 我在这里看到有声明但是不知道为啥不触发