3 steps to writing compound components
medium.com