Re-rendering A Component Within Another Component
So I have a component called TicketView that is used within another component of mine, which is just called Table. TicketView is initialized in the table just like this:
Solution 1:
So the best way according to me is pass the new data that arrives from your GET method as props to TicketView component and react will render the new values.
Post a Comment for "Re-rendering A Component Within Another Component"