Deel Interview Question

Give 2 ways to prevent components from re-rendering.