vibing
vibing
@MinWest https://github.com/Vibing/blog/issues/7 @lin-xin `localStorage.setItem('token_exp', new Date().getTime());`中 token_exp 是用来做什么?
有个问题,grpc服务端和客户端都需要知道protocol buffers接口结构,如何保证两端protocol buffers接口结构统一呢?
以`hello.proto`文件为例,grpc 的 server 端需要引用它,而 client 也需要用它。 如果 server 和 client 是两个物理主机, 那每个主机上都要有同样结构的`hello.proto`,如果小明维护server端,小黑维护client端,那么关于`hello.proto`的结构,他们俩就得每次进行沟通约定,我觉得这样很麻烦 所以才提这个疑问。 我也是最近才看 nodejs 的 rpc,看到 grpc 后才知道 protocol buffer,可能问的有点小白 请见谅
```js const str = '1,2,3,5,7,8,10; const transformStr = ( str ) => '1~3,5,7~8,10'; ``` 😈😈😈😈😈😈😈
> egg-mysql 好像总共就只有9个方法吧? > >  > > 只需要添加这一个就可以了呀 😹这算是偷懒了吧,那还不如不用`typescript`. 而且不止 egg-mysql ,很多 egg 官方维护的插件对`typescript`支持的不好。开发过程中经常报错,影响开发时间。 希望官网在这方面能尽快补上吧
`while(!res.done && performance.now() - start < 25);` 这里为什么要设置 25 呢?
我也遇到这个问题:  在 PC 上没问题,在手机上几乎 100% 复制失败
没有大佬帮忙看看吗。。。
> webpack4用extract-text-webpack-plugin@next或者mini-css-extract-plugin 已经解决了 谢谢
文字的组织、排版、代码及注释都很不错,容易阅读和理解,对react又进一步了解,谢谢楼主的分享,期待更多类似文章