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
If you have some global props (for example a delete function or a "Loading" props) that you want to use inside some cells. What is the best way to pass these values.
1: Use it directly inside column object but this mean that if my props change everything will be generated again and rerender .
2: Pass props to cell.render but some cells will receive these props even if they don't need.
3: Use a state manager like redux
4: Other possibilities/ideas ?
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you have some global props (for example a delete function or a "Loading" props) that you want to use inside some cells. What is the best way to pass these values.
1: Use it directly inside column object but this mean that if my props change everything will be generated again and rerender .
2: Pass props to cell.render but some cells will receive these props even if they don't need.
3: Use a state manager like redux
4: Other possibilities/ideas ?
Beta Was this translation helpful? Give feedback.
All reactions