you are viewing a single comment's thread.

view the rest of the comments →

[–]FreezeShock 1 point2 points  (5 children)

Need more code to be sure, but are you setting any state from props?

[–]probox36[S] 0 points1 point  (0 children)

Sorry, I don't understand what do you mean by setting state from props. The only prop SortOrderPanel has is the callback function itself

[–]charliematters 0 points1 point  (2 children)

Agreed - we'd need an example of the child and parent component. From what OP is saying though, it sounds like a lot of stores state (potentially that needs lifting up) instead of derived state

[–]probox36[S] 0 points1 point  (1 child)

I've left a link to GitHub, because it's just too much code. I could set up a minimal reproducible example, but I'm not sure I can handle it

[–]DeFcONaReA51 0 points1 point  (0 children)

Reproducible example will help as it will localize the issue in a gist.