GOD i am such a javascript noob. Stimulus is helping, but it took me way too long to get this working 🫠
tho, to be fair to myself, a lot of the difficulty stemmed from sticking with Rails’ newer importmap pattern because i really really do not want to have to deal with building javascript dependencies