What do you mean "didn't change"? You literally removed an item from the list, why would react think the content did not change? and why wouldn't react rerender it when the length of the list has changed?
What do you mean "didn't change"? You literally removed an item from the list, why would react think the content did not change? and why wouldn't react rerender it when the length of the list has changed?
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
A Better Person than Yesterday, I guess? In the process of Learning