Skip to content

issues Search Results · repo:NervJS/nerv language:JavaScript

Filter by

135 results
 (59 ms)

135 results

inNervJS/nerv (press backspace or delete to remove)

ie8环境下 babel没有转换.default
  • feng241x
  • Opened 
    on Jun 17, 2022
  • #172

Can you only use class components? Will there be hooks like features in the future to make function components more useful?
  • Tilldaw
  • Opened 
    on Mar 22, 2022
  • #171

Is anyone here would make a MAGI System like what they did in EVA?
  • WowYouCanReallyDance
  • Opened 
    on Jan 20, 2021
  • #169

when I defined Component with nervjs, the typing file cannot be resolved when I use the suggestion in vscode
  • cuiyajie
  • Opened 
    on Aug 4, 2020
  • #166

版本: nerv-devtools : ^1.5.7 , nerv-test-utils : ^1.5.7 , jest : ^25.1.0 , 问题描述: ReactTestUtils.findRenderedDOMComponentWithClass(wrapper, .sp-alert_close_icon ); 这个方法在查找元素时候,查不到,jest测试报错 image 查看源码 ...
  • tibic
  • Opened 
    on Jul 15, 2020
  • #165

Version: nervjs 1.5.7 现象:使用 TS 时,nervjs 类型无法正常提示 原因: package.json 中指定的 typings 路径为 index.d.ts: { name : nervjs , version : 1.5.7 , description : A react-like framework based on virtual-dom ...
  • FredZeng
  • 1
  • Opened 
    on Jul 7, 2020
  • #164

最近在写Taro项目,对React的状态管理感到头大,相比之下Vue和Angular的脏值检测让我觉得:真香。 基于上述考虑,我在 Taro(3.0) 做了一个基类,给让每个组件强制刷新(我知道有点憨,但有改进空间,比如:脏值检测),不多说了,上代码: import {Component} from react export class Page Props = any extends ...
  • Eusen
  • 3
  • Opened 
    on Jul 2, 2020
  • #163

文件 packages/nerv/src/event.ts /* istanbul ignore next */ function stopPropagation () { this.cancelBubble = true this.stopImmediatePropagation() } 百度地图jssdk 是这么写的 Event.prototype.__defineSetter__( ...
  • KevinGong2013
  • Opened 
    on Jun 3, 2020
  • #162

问题描述 setState的回调函数中再次setState,第二个setState回调函数中无法及时获取更改后的值 复现步骤 1. state 中定义两个变量{page: 1, num: 1} 2. 点击触发更改num值的方法 3.在setState回调方法中更改page值为2 3. 此时回调函数中page值仍然为1,没有被改变 state = { num: 1, ...
  • fjyhub
  • 4
  • Opened 
    on May 10, 2020
  • #161

代码见https://codesandbox.io/s/nerv-sandbox-m6ts0?file=/index.js 复现步骤: 1. 输入框中使用中文输入法输入中文“啊啊啊啊”; 2. 鼠标光标向前移动到字符串中间,插入输入其他中文“宝宝”; 3. 出现异常,光标自动跳到字符串结尾,而不是停留在“宝宝”后面。 影响taro-components上的Input以及taro-ui的AtInput在ios上使用,目前只能降级使用nervjs1.3.13,不知道taro1.x上使用nervjs1.3.13有没有其他影响? ...
  • kaqiling
  • Opened 
    on Apr 14, 2020
  • #159
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.