why isn't some kind of baseline state/reactivity/ajax built directly into html standards by now.
there are too many ways to do the same thing in webdev. it's so stressful.
each approach has its own trade-offs and edge cases you not might find until the eleventh hour..