Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
952 views

Maximum call stack size exceeded due to recursive function

I'm trying to populate data from an array through a recursive function, and this function would get called upon each time the data or search value is updated. I understand that to avoid call stack ...
Cedric Woo's user avatar
0 votes
2 answers
3k views

why setInterval inside useEffect hook in React keeps running?

I have this React component import React, {useEffect, useRef, useState} from 'react'; export default function MyD3(props) { const [count, setCount] = useState(0); useEffect(() => { ...
Alessandro Sassi's user avatar
0 votes
1 answer
237 views

Is some wrong with this call stack in this react component?

I was trying to make a stopwatch counter however when I call the "startTimer" function, the setInterval function is fired before the setStartTime (is fired after I click the start button for ...
Capt.Auh3b's user avatar
2 votes
1 answer
209 views

Maximum call stack exceeded error when rendering columns dynamically ([email protected])

I am getting the Maximum call stack exceeded error while rendering my table columns dyanmically using the react-table (v6) library, below are my data structures Object of dcs { "13": { "id": "...
Malik Bagwala's user avatar
0 votes
0 answers
601 views

Uncaught RangeError: Maximum call stack size exceeded | React JS

Getting the below error when I try to render a React component. No componentDidMount, componentWillReceiveProps or componentDidUpdate functions within my component. The component is getting re-...
Sai Prakash Narasingu's user avatar