You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the browser dev tools, I go to the Components tab (React dev tools plugin) and see that the Spreadsheet component tracks the state of the selected cell. However, I cannot figure out a way to pull that state out into code. When I use the onSelect prop on the Spreadsheet component, I can console.log out the selected cell, but not much else. If I try and change a useState hook of my own based on what Spreadsheet's onSelect picks up then I get a React Minified Error #185 (basically an infinite re-render loop). I combed through the docs, but there is no information on how to do this (or, I'm just missing it for some reason). Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the browser dev tools, I go to the Components tab (React dev tools plugin) and see that the Spreadsheet component tracks the state of the selected cell. However, I cannot figure out a way to pull that state out into code. When I use the onSelect prop on the Spreadsheet component, I can console.log out the selected cell, but not much else. If I try and change a useState hook of my own based on what Spreadsheet's onSelect picks up then I get a React Minified Error #185 (basically an infinite re-render loop). I combed through the docs, but there is no information on how to do this (or, I'm just missing it for some reason). Thanks!
Beta Was this translation helpful? Give feedback.
All reactions