Comments (2)
The "old method" will be removed in a future release so that's not a solution.
The error you're seeing is due to repeated setState
calls from inside a lifecycle method, as the error message says. We can't guess where it's happening without a reduced code example. If you think there is a bug in React, please provide one. I will have to close this issue because it contains no runnable code example reproducing the problem.
I'd note that generally you want to look at the stack trace to see what's causing these updates. In your example, there's something called TemplateBase
which calls something called PluginHost.broadcast
which eventually leads to setState
calls. So something gets into an infinite loop there. Using GitHub search, I found this file which is probably where the issue originates. I suggest to file an issue in https://github.com/DevExpress/devextreme-reactive if you can isolate the problem to that package.
from react.
I was also having same kind of problem and sticked to the old method
from react.
Related Issues (20)
- Bug:
- Bug:
- We are not able to adjust the width of the column header via keyboard. HOT 2
- cart issue HOT 1
- Bug: cart issue HOT 3
- Bug: useEffect misses run when running in StrictMode HOT 1
- Hi @gameprivatesv!
- Bug: Modify value of textarea value in react s page by javascript and select dropdown item by javascript HOT 2
- eslint-plugin-react-hooks & "Flat Config" (ESLint 9) HOT 3
- Bug: eslint-plugin-react-hooks still links to legacy.reactjs.org HOT 2
- Bug: eslint-plugin-react-hooks `exhaustive-deps` rule shouldn't warn when using an object's property HOT 2
- [DevTools Bug]: Consistent memory leak when refreshing on React + non-React websites. HOT 12
- Bug: Adding StrictMode component leads to cases that can't happen in concurrent mode. HOT 3
- Bug: <link> onLoad event happened but not triggered (18.2.0 & 18.3.0-canary-2e470a788-20240214) HOT 1
- Introducing `UseConstantState()` - A Novel Approach to Permanent State Management 🚀 HOT 6
- Bug: `textarea` inputs in Safari stop accepting input if certain lines are deleted HOT 5
- React Project Doesn't display on browser HOT 2
- Bug: Undo/Redo not behaving as expected for controlled input when state is updated from an async callback HOT 3
- Bug: React can leak the whole subtree when using contentEditable (reproduction sscce included) HOT 2
- Request: Define to exports cjs/* files in package.json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react.