Please tell me how to solve the problem that the previous data remains on the screen during the process of loading new data by clicking on the category in react.
Please tell me how to solve the problem that the previous data remains on the screen during the process of loading new data by clicking on the category in react.