brainhubeu / react-carousel

A pure extendable React carousel, powered by Brainhub (craftsmen who ❤️ JS)
https://brainhub.eu/
MIT License
1.07k stars 164 forks source link

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 #710

Open shammael opened 3 years ago

shammael commented 3 years ago

Captura de pantalla (3)

rheng001 commented 3 years ago

Facing the same warning

arnonate commented 3 years ago

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

vittau commented 3 years ago

Same issue here.

Maclay74 commented 3 years ago

Same problem. Any solution?

Lokom17 commented 3 years ago

Have the same issue

ryansrofe commented 3 years ago

same

shaunstoltz commented 3 years ago

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.

pittkost commented 3 years ago

same

AgainPsychoX commented 3 years ago

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

waltcow commented 2 years ago

buggy buggy buggy

Tran-Vinh-Quang commented 2 years ago

Same

oigabrielteodoro commented 2 years ago

Same

odairto commented 2 years ago

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.

darwinva97 commented 2 years ago

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

GaroGabriel commented 1 year ago

Same.

The-Kevin commented 1 year ago

This problem is discussing in the issue #12