工业聚

Results 97 comments of 工业聚

@Bbooth4 I have no idea now. Can you add a simple code example to reproduce the problem here?

`newNode` must be a `textNode` of DOM which has a method named `replaceData`. The diff of virtual-dom show that we should update a `textNode`, but the real-dom is not a...

thx feedback, I will check this problem and try to fix it as soon.

I found it just work the same as `react`. ```javascript import React, { Component } from 'react-lite' import ReactDOM from 'react-lite' function Test() { return ( ) } ReactDOM.render( ,...

Did you use `babel-plugin-transform-react-inline-elements` which included `regular react`? `react-lite` is written by ES2015, as a `UMD` modules, and works with `webpack alias`, it is hard to load `react-lite` twice, and...

No. `react-dom/lib/*` and `react/lib/*` are not supported in `react` now, visit this [tweet](https://twitter.com/dan_abramov/status/798926305030877184).

The bad news is I can't join. The good news is `react core team` have a plan to reduce the scripts size, and you can open the real issue to...

把 touchmove 添加到 unbubbleEvents 是因为 react 里有个 issue,说不要把 touchmove 绑定到 document 节点,会导致用户在 touchmove 时频繁触发事件函数。 现在问题出现在 onTouchMove 无法生效吗?从代码上看,它只是直接绑定到元素上了。

Try adding breakpoint at [this line](https://github.com/Lucifier129/react-lite/blob/master/dist/react-lite.common.js#L424), and check whether `vcomponent.type` is valid or not.

OK. Can you add a simple code example to reproduce this problem?