skipper
skipper
https://github.com/facebook/draft-js/blob/dc4351e7d6c8fbfb37dfa0a899d26f8bec8981f0/src/model/encoding/convertFromHTMLToContentBlocks.js#L713 that's the reason, it should be: ```js ```javascript if ( blockConfig.type !== 'unstyled' || blockConfig.text !== '' || (blockConfig.text === '' && !(blockConfig.childConfigs && blockConfig.childConfigs.length))) { return [blockConfig]; }...
我这样的封装,应该也可以搬到 dva 上边 https://github.com/gogoyqj/tkit/blob/master/packages/model-factory/src/factory.ts
seems that business logic should avoid depending on unpredictable trigger order is the best practice. I'll change my scroller & Lazyimage
```javascript class Scroller extends Component { constructor() { this.lazyImgs = []; } componentDidMount() { this._loadImg(); } componentDidUpdate() { this._loadImg(); } _loadImg() { if (this.lazyImgs.length) { this.lazyImgs.map(img => img.load()); } }...
i wonder if changes thoses functions to ensure lifecycle in right order. is there any side effect? is there any thing that i neglect? @developit ```jsx // in vdom/diff.js export...
private cli specs in ~/.fig/autocomplete/build/*.js won't load..
> @gogoyqj That's what the diagnostics are telling you? Or do you have the same issue? same issue. Fig made some break change... see https://github.com/withfig/fig/issues/1558#issuecomment-1165004796
my fault. maybe not same issue
回一个定制的 ebit https://juejin.im/post/6882935787382554632/
@maoyuyang 在消费项目里 modify & reexport,在旧项目里 import & add to cvs