Comments (5)
Thanks for the reproduce. It's a really nice that you can help us on the weekend. ❤️
from nerv.
See https://codesandbox.io/s/j2wym3n6w5 for Nerv behavior.
I guess Nerv can still access to the dom on componentWillUnmount
function.
But still, there is bug in Top level API render
, Nerv can just return null
when first argument is null.
Thanks for point that out.
from nerv.
My point was that when doing keyed algo you remove DOM first, then call the callbacks. Ok I create full reproduce wait a sec.
from nerv.
https://codesandbox.io/s/3x29y3040m
edit: there is something else too ... I create another fiddle
another where it fails: https://codesandbox.io/s/5xpp5q4lyn
from nerv.
There is serval tests for this issue.
from nerv.
Related Issues (20)
- jest 多个Effect的时候报错
- jest useEffect中 代码没执行
- [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL> HOT 1
- 请问现在最新版还能兼容IE8否 HOT 1
- redux无法在ie8 下使用
- this.forceUpdate()
- devtools error HOT 1
- react hooks support? HOT 1
- [bug] portal里的事件没有正确冒泡 events triggered in portal are not propagated
- Suspense / Lazy Support HOT 3
- nervjs1.4.0版本之后safari浏览器,iphone webview里input中文输入异常
- setState的回调函数中再次setState,第二个setState回调函数无法及时获取设置后的值 HOT 4
- nerv和百度地图js sdk 一起使用的时候会死循环
- 【讨论贴】给React加上强制刷新,是种什么体验? HOT 3
- nervjs 1.5.7 typings 路径错误 HOT 1
- nerv-test-utils的api:findRenderedDOMComponentWithClass问题
- [Version 1.5.7] cannot resolve the typing file
- Is that the project name got from EVA? NERV -_-!
- classComponent
- 无法兼容ie8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerv.