Google Pixel phones have unlocked bootloaders[0] (see the excellent projects GrapheneOS[1] and Calyx[2]), so if that's something that is important to you (it's good that it is), then you should purchase your next phone with that in mind.
0. usually, but not always. Sometimes you need to install, for example, a T-mobile app for some previously GoogleFi phones in order for the phone to check with T-mobile's servers and get unlocking approved, but the phone can be purchased unlocked directly from Google as well.
Graphene only supports the same time frame as Google, 3 years from launch for the #a series models. Calyx goes about an extra year. I really got hosed by not reading the fine print, I just bought Google 5a, and it runs out of support in a year now, its a 5G phone, I'll have to use Calyx or Lineage OS to go beyond. I wish I had just gotten an LG V50 or V60 and gotten better audio quality and a nicer screen.
There are no dependencies and no build process. It's simple and lightweight. There is no shadow DOM, no virtual DOM diffing, and function binding is optimized for larger applications.
Popstart offers a straightforward visual representation of exactly what events are tied to which objects and it's very fast, even with thousands of objects on-screen and off. It's optimized for SPA's, but works well with page-oriented applications as well.
Here's an example to send a completed form to the server via AJAX:
Draws inspiration from AlpineJS, HTMX, Angular, and even jQuery and Moo from back in the day, so if this isn't what you're looking for, check out one of those or one of the heavier alternatives like Vue/React.
It would be easy to code as a helper, but FYI there is no router right now.
0. usually, but not always. Sometimes you need to install, for example, a T-mobile app for some previously GoogleFi phones in order for the phone to check with T-mobile's servers and get unlocking approved, but the phone can be purchased unlocked directly from Google as well.
1. https://grapheneos.org/
2. https://calyxos.org/ from https://www.calyxinstitute.org/