How To Use rerender in React Testing Library

Learn how to use rerender from React Testing Library to test the effect of prop changes.