react-carousel icon indicating copy to clipboard operation
react-carousel copied to clipboard

Warning: Cannot update a component (`re`) while rendering a different component (`wi`). To locate the bad setState() call inside `wi`, follow the stack trace as described in

Open shammael opened this issue 4 years ago • 16 comments

Captura de pantalla (3)

shammael avatar May 19 '21 19:05 shammael

Facing the same warning

rheng001 avatar May 20 '21 02:05 rheng001

Me too... looks to be a RECOIL problem.

arnonate avatar May 21 '21 00:05 arnonate

Same issue here.

vittau avatar May 31 '21 15:05 vittau

Same problem. Any solution?

Maclay74 avatar May 31 '21 20:05 Maclay74

Have the same issue

Lokom17 avatar Jun 08 '21 08:06 Lokom17

same

ryansrofe avatar Jun 09 '21 22:06 ryansrofe

I got this working by used the source and removing all the scss imports as they were bugging in my build environment. Simple import of the index.js file from the src directory here https://github.com/brainhubeu/react-carousel/tree/master/react-carousel/src and the errors about setState were resolved.

shaunstoltz avatar Jun 10 '21 17:06 shaunstoltz

same

pittkost avatar Jun 15 '21 14:06 pittkost

Same issue here. Upgrading to v2 was so bad choice for me... Plugins system feels horrible, there are ton of bugs all over the place :C

AgainPsychoX avatar Jun 29 '21 10:06 AgainPsychoX

buggy buggy buggy

waltcow avatar Jul 09 '21 08:07 waltcow

Same

Tran-Vinh-Quang avatar Oct 05 '21 04:10 Tran-Vinh-Quang

Same

oigabrielteodoro avatar Oct 11 '21 04:10 oigabrielteodoro

Guys, I found a solution for my case: I'm using Redux to set the title of my pages.

In each page i had: dispatch(setTitle("Patrimony"));

And then I changed to:

    useEffect(() => {
        dispatch(setTitle("Patrimonyyyyy"));
    }, [dispatch]);

Reading a litle about it, have the same behavior of: componentDidMount and componentDidUpdate source: https://reactjs.org/docs/hooks-effect.html

Hope I can help someone with this.

odairto avatar Nov 24 '21 14:11 odairto

Same. I'm using Next with dynamic import and ssr: false.

darwinva97 avatar Nov 29 '21 05:11 darwinva97

Same.

GaroGabriel avatar Jan 31 '23 12:01 GaroGabriel

This problem is discussing in the issue #12

The-Kevin avatar May 19 '23 15:05 The-Kevin