The Case for Headless UI components
Using the headless component approach will help us to solve all the complex usecases but it comes with some verbosity.
Replicating Polyfill.io using Cloudflare Workers
A detailed post on how to implement the same functionality of Polyfill.io using Cloudflare Worker and Cloudflare KV Storage.