小木林

Results 4 issues of 小木林

https://thinkia.github.io/three-Effect/examples/shineHeart.html demo: https://codesandbox.io/s/stoic-cloud-9zdpyx?file=/src/App.js 你好,请教个问题,我在使用后期处置的时候,发现后期处置上的模型在经过另一个scene上,效果会失真,能帮忙看下如何解决这种问题吗

你好,看完这篇文章,我有两个问题请教一下,还请解答: 1. setState的异步问题 ```js *** onClick(){ this.setState(partialState); this.setState(partialState); } *** ``` 每次调用`setState`时,会调用父类的`setState`,此时会进入`ReactUpdateQueue`中,然后会把`partialState`存放到`ReactCompositeComponent`实例对象的一个队列中,经过一系列步骤,`_processPendingState`该方法会对`partialState`,然后进入到`render`中。 在这一系列调用过程中,我没有看到哪一步会停止对第一个setState退出当前调用栈,肯定就不会去执行第二个setState,即`_processPendingState`该方法处理的队列中只有一个`partialState`,那就谈不上`Object.assign`会把第二个覆盖第一个state。因为js是单线程,而且底层没有发起异步操作。所以有点疑问 2. setState里面的updater ```js function ReactComponent(props, context, updater) { this.props = props; this.context = context; this.refs = emptyObject;...

Hi, I add multiSelection options for component, so don't change effect. wish to merge it, if you have problem on code, please don't hesitate to contact me.

Hi, fixed #13