Giter Site home page Giter Site logo

Comments (9)

yuche avatar yuche commented on May 5, 2024

试试安装 Nerv 最新的版本 (1.2.17)。

from nerv.

wslx520 avatar wslx520 commented on May 5, 2024

@yuche 正常了耶! 我看 1.2.17 刚发, 好敬业. 🥇
顺便问一句,1.2.16出现的这个问题是为什么呢?

from nerv.

yuche avatar yuche commented on May 5, 2024

因为即便老组件的 children 和新组件的 children 引用相同, React 也会继续 diff/patch,修改成和 React 一样的行为就可以了。

from nerv.

xf789675 avatar xf789675 commented on May 5, 2024

A Router may have only one child element
报这个错是为什么?

from nerv.

yuche avatar yuche commented on May 5, 2024

应该是 react-router 的报错,就是字面上的意思,一个 router 只能有一个子元素。

from nerv.

xf789675 avatar xf789675 commented on May 5, 2024

嗯,要用个div包起来

from nerv.

hejinguo avatar hejinguo commented on May 5, 2024

@wslx520 @xf789675 请问nerv与react-router2.3.0使用时,提示:RouterContext.js:40 Uncaught TypeError: _react2.default.createClass is not a function 在使用过程中有遇到吗?您是如何处理的?

from nerv.

chwan97 avatar chwan97 commented on May 5, 2024

@wslx520 @xf789675 请问nerv与react-router2.3.0使用时,提示:RouterContext.js:40 Uncaught TypeError: _react2.default.createClass is not a function 在使用过程中有遇到吗?您是如何处理的?

太南了,朋友,你找了多久,是不是几年没变的样板代码项目的问题

from nerv.

chwan97 avatar chwan97 commented on May 5, 2024
react-router-dom

使用了react-router-dom,页面在IE8下能正常工作吗

from nerv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.