Does the entire cell lifecycle get re-run if a prop on the
Success state is updated?
I’ve got a cell the fetches a list of items from my API. The user can click to select items in that list. I’m tracking the selected state in the parent page/component, and passing that state down to the cell as a
selectedItem prop, along with another prop that is the
setSelectedItem function. I’m noticing that when the
selectedItem changes it looks like the entire cell is re-rendering, including firing off the GraphQL query, showing the loading state, etc.
Is this intended/expected? Is there a way for me to update the props to my
Success component without re-running the entire Cell lifecycle?