We currently have 3 headers components:
mc-header # Vanilla JS, invoked through an IIFE, very hard to use nicely in react (is possible but the interface is a bit gross)
mc-react-header # This one, really old CRA, and has quite a bad visual attached
an inlined tailwind version inside mc-frontend that looks the best.
We should consider how to unify these in a framework agnostic but still flexible way - perhasp switching the IIFE to be a full self-managed HTML webcomponent may be the simpliest albeit perhaps not as performant as the IIFE.
We currently have 3 headers components:
mc-header # Vanilla JS, invoked through an IIFE, very hard to use nicely in react (is possible but the interface is a bit gross)
mc-react-header # This one, really old CRA, and has quite a bad visual attached
an inlined tailwind version inside mc-frontend that looks the best.
We should consider how to unify these in a framework agnostic but still flexible way - perhasp switching the IIFE to be a full self-managed HTML webcomponent may be the simpliest albeit perhaps not as performant as the IIFE.