Results 20 comments of Eward

`npm run test-local` 支持测试单个文件吗?

赞,我这边好像需要 `npm run debug`,然后手动点击一下 Egg Attach to remote 才行

上面例子,saga 在前端用,使用 generator 似乎区别只是异步改为同步写法而已。 generator 最大的问题,如果是高级浏览器还好,要兼容低版本的浏览器,需要一堆转换代码,感觉不是很好。在我们的业务中,异步请求是很小的一部分操作,如果后台是自己控制,页面中的数据,基本上一次请求就都拿过来了。同样,可以在前端操作页面,最终完成后,进行一次提交,完成所有的修改。这种情况下,异步操作,用最简单的 thunk 就够了。

cc @fengmk2 @dead-horse

I've recently been rewriting my code using typescript. I'll post an ESM package when I'm done. Thanks for you code example.

@bseib now I published new beta version 2.1.0-beta, Can you help me to check if this version is work ok with esm module?

> Hey @shepherdwind , do you have any plans to release your BETA branch to npm? That would make testing a lot simpler -- I would just update my `package.json`...

> @shepherdwind The second issue I'm seeing is a runtime error: > > ![image](https://user-images.githubusercontent.com/1313561/221373837-370ee54a-e6e2-40cf-a993-2519d488faa7.png) > > The sources are not in the distribution, but it looks like this may be...

I also encountered this problem. I fixed it in my own fork at https://github.com/shepherdwind/outline/commit/266ff7be334e99598cec0cecb0c27540881c34ae. You can try the image I built at https://hub.docker.com/r/shepherdwind/outline. As for the markdown-it plugin, I will...