react-datocms
react-datocms copied to clipboard
Bundle size is huge (sent to client on load)
This should not be a dependency but instead opt in using a separate "react-datocms-video" package (like AirBNB Visx does to split packages)
https://bundlephobia.com/package/@mux/[email protected]
Its 117,92kb Gzipped. Lets say for easy calculations reason we have 100k unique visitors a day. Thats 117,92kb * 100k = about 11GB per day. This times 365 days a year equals to about 4TB extra data per year. For us in Vercel this would cost about 600 euro's per year for JUST this mux-player-react component that we don't even use
@sistrall ☝️