Skip to content

Table 组件 更新完 records 数据,如果再去更新 autotip的isLoading ,就会报错,在React18 #31

Description

@maliao292

Snipaste_2024-07-02_19-21-00

Snipaste_2024-07-02_19-21-00

错误如下:
chunk-EL3ZTUGS.js?v=dcc89dea:19655 Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
at checkForNestedUpdates (chunk-EL3ZTUGS.js?v=dcc89dea:19655:19)
at scheduleUpdateOnFiber (chunk-EL3ZTUGS.js?v=dcc89dea:18529:11)
at Object.enqueueSetState (chunk-EL3ZTUGS.js?v=dcc89dea:10619:15)
at Component.setState (chunk-HS5T2ZWL.js?v=dcc89dea:229:24)
at Transition2.updateStatus (chunk-VULOQNGO.js?v=dcc89dea:4038:16)
at Transition2.componentDidUpdate (chunk-VULOQNGO.js?v=dcc89dea:4001:14)
at commitLayoutEffectOnFiber (chunk-EL3ZTUGS.js?v=dcc89dea:17043:36)
at commitLayoutMountEffects_complete (chunk-EL3ZTUGS.js?v=dcc89dea:17976:17)
at commitLayoutEffects_begin (chunk-EL3ZTUGS.js?v=dcc89dea:17965:15)
at commitLayoutEffects_begin (chunk-EL3ZTUGS.js?v=dcc89dea:17946:19)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions