Warning: Cannot update a component (`Connect(WithConnect(Wrapper))`) while rendering a different component (`Wrapper`). To locate the bad setState() call inside `Wrapper`

Description

This apparently-benign warning, which seems to relate to stripes-connect, appears in the JS console when visiting any harvester record in ui-harvester-admin (and, I suspect, any other Stripes module that uses stripes-connect):

Warning: Cannot update a component (`Connect(WithConnect(Wrapper))`) while rendering a different component (`Wrapper`). To locate the bad setState() call inside `Wrapper`, follow the stack trace as described in https://fb.me/setstate-in-render
in Wrapper (created by Context.Consumer)
in WithConnect(Wrapper) (created by Connect(WithConnect(Wrapper)))
in Connect(WithConnect(Wrapper)) (created by ConnectedComponent)
in ConnectedComponent (created by Context.Consumer)
in WithStripes(ConnectedComponent) (created by Context.Consumer)
[...]

Here is one way to reproduce it:

Then visit localhost:3003, go to the Harvester Admin app, and click on (for example), "Mike's connector harvester".

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Prokopovych

Fix versions

Release

Morning Glory (R2 2022)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 21, 2022 at 5:40 PM
Updated August 16, 2022 at 1:25 PM
Resolved May 4, 2022 at 2:21 AM
TestRail: Cases
TestRail: Runs