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

Using SetState in Callback reference

Open sayeed09 opened this issue 6 years ago • 2 comments

Hello, In your example, you have used set state in render for call back reference due to which it the stack size increases and gives an error of maximum call stack size exceeded.

sayeed09 avatar Feb 20 '19 18:02 sayeed09

Good catch! I'll try to get this fixed soon :)

aurbano avatar Mar 11 '19 14:03 aurbano

Did you have an update on this?

ankitjpk avatar Feb 25 '20 13:02 ankitjpk