react-router-cache-route
react-router-cache-route copied to clipboard
结合history使用时报错Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node'
结合history使用时 会导致this.props.history.push失效,报错Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. 急 谢谢
是不是启用了 unmount 属性?关掉试试
嗯嗯 有效果
嗯嗯,这个只是理论上节约一些性能,实际没测算过,可以不开
嗯嗯 谢谢大佬
nice 啊,在qiankun 微应用也碰到这个问题,mark一下
unmount 装上以后 刷新还是会出现Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node'。如果不用ummount 在长列表下。影响性能+1