GreyZhou

Results 4 issues of GreyZhou

### ⌨️ - [ ] Would you like to work on a fix? ### Where is the bug from? Rax App ### Minimal code and steps to reproduce the bug...

Bug

**Describe the bug** 当存在数个 useEffect 时,期望的执行时序是按顺序依次执行;此时如果 useEffect 中存在 setState ,useEffect 的执行时序会被破坏 **Demo** ```typescript const [val, setVal] = useState(''); useEffect(() => { console.log(1); setVal('any'); // 该句会截断执行 console.log(2); }, []); useEffect(() =>...

Long Term

## What is the current behavior? 发生了什么? 异步获取路由配置,并在【modifyRoutes】中尝试生成路由时报错。 【modifyRoutes】【modifiedRoutes】不支持 promise,尝试异步返回路由时报错 ![image](https://user-images.githubusercontent.com/14234261/124464046-47097f80-ddc6-11eb-8b6f-df59ded80bce.png) ![image](https://user-images.githubusercontent.com/14234261/124463953-2d683800-ddc6-11eb-99bf-cc39d7bf2346.png) ## What is the expected behavior? 期望的结果是什么? 期望 appConfig 中的 `modifyRoutes` 和运行时的 `modifiedRoutes` 支持 promise ## Any additional...

feature request

**Do you want to request a *feature* or report a *bug*?** bug **What is the current behavior?** 项目使用 @ice/stark-module 下的 loadModule 方法加载放在 cdn 上的 js资源 > 本地(子应用)时表现正常,loadModule 方法返回了 js 资源的执行结果(component...