Zack Young
Zack Young
@DanielTamkin Hi, I'm using [VSCode](https://code.visualstudio.com/) to develop my TS projects, it has out-of-box support for TypeScript. If you want to develop `keyv-file`, you can git clone the repo, and then...
@Et7f3 This is an issue for upstream project [atom-languageclient](https://github.com/atom/atom-languageclient), looks atom-languageclient doesn't support rendering any link syntax in comment.
Looks like it's because the atom-languageclient watches the plugin config changes very fast, and read some uncompleted input.
Sorry that I didn't look your error stack before, the stack contains some from ide-flowtype, not ide-reason, it's strange, but I didn't find some clue after a quick look at...
> Hi, > > I'm concerned this issue hasn't been answered as it could cause data corruption, which is a pretty big deal for a file store package. > >...
总结的非常好。 顺便分享一个个人比较喜欢的 immutable 实现方案 [dot-prop-immutable](https://github.com/debitoor/dot-prop-immutable),轻量级,API 比较人性化,这是修了些 issue 的 [fork](https://github.com/zaaack/dot-prop-immutable). 还有一个偶然发现的一个坑,如果在 render 中使用过箭头函数来传参, `() => this.handleClick('Some param')`,那么什么 immutable 方案就都不起作用了,因为每次都会生成一个全新的函数对象。。解决办法是使用 memoize,比如 [memoize-bind](https://github.com/timkendrick/memoize-bind) 或者用装饰器在方法上加 lodash 的 `_.memoize`
@younth 这是个比较经典的问题,我也是在别的地方上看来的,如果要传参,memoize是惟一的办法,因为bind也会生成新的函数,所以bind效率低,所以有我发的memoize-bind。。