首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏szhshp 的第四边境中转站

    EvalError: Possible side-effect in debug-evaluate

    Console 输入任何内容直接报错 EvalError: Possible side-effect in debug-evaluate 看起来是 Chrome 的 bug, 可以使用以下方式临时解决这个问题

    42550编辑于 2022-09-21
  • 来自专栏码匠的流水账

    聊聊reactive streams publisher的doOn方法

    /reactor/core/publisher/Flux.java doOnSubscribe /** * Add behavior (side-effect) triggered when (this, onSubscribe, null, null, null, null, null, null); } doOnRequest /** * Add behavior (side-effect doOnSignal(this, null, null, null, null, null, consumer, null); } doOnNext /** * Add behavior (side-effect doOnSignal(this, null, onNext, null, null, null, null, null); } doOnError /** * Add behavior (side-effect All these events are represented as a {@link Signal} * that is passed to the side-effect callback

    1.4K10发布于 2018-09-17
  • 来自专栏xiaoxi666的专栏

    Callable和Supplier的区别

    that a Callable may have side-effects (e.g. writing to a file), while a Supplier should generally be side-effect

    1.3K20发布于 2019-07-24
  • 来自专栏前端工程

    React源码学习进阶(六)completeWork究竟做了什么

    The completion order of the children affects the // side-effect order. We don't want to // schedule our own side-effect on our own list because if end up // // If we have an alternate, that means this is an update and we need // to schedule a side-effect

    75120编辑于 2022-12-19
  • 来自专栏前端干货和生活感悟

    ReactHooks源码解析之useEffect

    captureCommitPhaseError(effect, error); } } effect = effect.nextEffect; } } 解析: 循环执行 effect 链上的副作用(side-effect mountTag: number, finishedWork: Fiber, ) { //FunctionComponent 的更新队列 //补充:FunctionComponent的 side-effect updateQueue.lastEffect : null; //如果有副作用 side-effect的话,循环effect 链,根据 effectTag,执行每个 effect if (lastEffect 注意下lastEffect是怎么取到的: root.current.firstEffect.updateQueue.lastEffect 当前 fiber 节点上的 effect 链上第一个有 side-effect

    1.3K41发布于 2020-06-03
  • 来自专栏劝学

    【函数式编程】-纯函数

    有个什么用呢 function pure(a) { let b = 1 return a + b } 复制代码 纯函数的好处 更有利于单元测试 无副作用(side-effect),不会修改作用域外的值

    77810发布于 2021-01-21
  • 来自专栏前端干货和生活感悟

    React源码解析之Commit第一子阶段「before mutation」

    mountTag: number, finishedWork: Fiber, ) { //FunctionComponent 的更新队列 //补充:FunctionComponent的 side-effect updateQueue.lastEffect : null; //如果有副作用 side-effect的话,循环effect 链,根据 effectTag,执行每个 effect if (lastEffect

    1.2K10发布于 2020-04-14
  • 来自专栏小前端看世界

    小前端读源码 - React16.7.0(五)

    The completion order of the children affects the // side-effect order. We don't want // to schedule our own side-effect on our own list because if end up // // If we have an alternate, that means this is an update and we need // to schedule a side-effect

    33630编辑于 2022-09-26
  • 来自专栏ADAS性能优化

    Memory Types

    As a side-effect, this means that even if the memory is private, several processes might share the

    66830编辑于 2022-05-13
  • 来自专栏用户4822892的专栏

    Why JavaScript is Compulsory for Modern Web Development?

    Also, as a side-effect of its monstrous fame, there is an unfathomable degree of help accessible through

    58510发布于 2019-10-22
  • 来自专栏小前端看世界

    小前端读源码 - React16.7.0(三)

    reconcileChildFibers // This API will tag the children with the side-effect of the reconciliation / They will be added to the side-effect list as we pass through the // children and the parent.

    42720编辑于 2022-09-26
  • 来自专栏苦逼的码农

    从0学习Git:详解git pull和git fetch的区别

    但是,不管他们是如何的相似,他们还是有一个重大的区别:更改远端跟踪分支只能用git fetch,或者是git push后作为副产品(side-effect)来改变。

    9.7K21发布于 2019-12-26
  • 来自专栏裸机思维

    【编译器玄学研究报告】第六期——无副作用的副作用

    【写在前面的话】 ---- 作为嵌入式软件工程师,你是否听说过“无副作用(no side-effect)的代码”这个概念? 如果没有的话,今天的文章你就真的要好好看一看了。 【写在后面的话】 ---- 正如我在此前很多文章中所提到的那样,程序员与编译器之间存在着巨大的信息鸿沟——很多我们甚至都意识不到需要特别强调的重要信息,在编译器看来是并不存在的——“无副作用(no side-effect

    1.2K10编辑于 2022-07-30
  • 来自专栏腾讯云数据库专家服务

    MySQL 案例:"最大连接数"的隐形限制

    Memory map areas are used as a side-effect of calling malloc, directly by mmap and mprotect, and also

    7.1K51发布于 2020-11-25
  • 来自专栏前端干货和生活感悟

    React源码解析之FunctionComponent(上)

    reconcileChildFibers 五、reconcileChildFibers 作用: 针对不同类型的节点,进行不同的节点操作 源码: // This API will tag the children with the side-effect They will be added to the side-effect list as we pass through the // children and the parent.

    1.2K10发布于 2019-12-02
  • 来自专栏Android开发小工

    数据结构基础-递归和循环技巧

    递归控制 严格定义递归函数的作用,包括函数、返回值,side-effect 先一般,后特殊 每次调用必须缩小问题规模 每次问题规模缩小程度必须为1 eg:创建链表 public Node createLinkedList

    67920发布于 2019-02-22
  • 来自专栏帆说区块链

    【以太坊篇】-简易的helloword了解remix测试部署,solidity中constant/view/pure关键字定义

    在内存分配上有边界效应(side-effect)的表达式是允许的,但对其他内存对象产生边界效应的表达式则不行。

    60610编辑于 2022-04-26
  • 来自专栏区块链入门

    【易错概念】Solidity语法constant/view/pure关键字定义

    在内存分配上有边界效应(side-effect)的表达式是允许的,但对其他内存对象产生边界效应的表达式则不行。

    2.2K30发布于 2018-09-27
  • 来自专栏前端工程

    React源码学习进阶(七)挂载阶段的commitWork

    The completion order of the children affects the // side-effect order. We don't want to // schedule our own side-effect on our own list because if end up //

    96420编辑于 2022-12-19
  • 来自专栏云计算与大数据

    “Hot-Warm” Architecture in Elasticsearch 5.x

    will it save memory, disk-space and file handles by having fewer segments, but it will also have the side-effect

    78510发布于 2019-05-28
领券