⇠ chan.dev/ lessons/ reactholiday / 2019

As Component Prop in React

Components have a nasty way of locking down implementation details. We can give control back to implementing developers with an “as” prop…

Assignment Sandbox: https://codesandbox.io/s/react-holiday-day-11-doefh