Using The Reef JavaScript Library "store" Feature With HTML Buttons
TL;DR
I'm trying to get html `<button>`html` elements to work with Reef's^reef^^ "store" functionality.
This is what I have so far, but it's not working. It looks like I can't get to the datastore object.
First Attempt That Didn't Work
The first thing I tried was using "store" instead of "signal". The docs introduce "store" as a signal that you can only update via function calls that are defined when you make it. I couldn't get it to work with the button clicks.
I'm not entirely sure what was going on. While I like the idea of issolating things a little via the funcitons none of the work I'm doing requires that. So, signals it is.
Notes
-
I've got the "signal" feature working with buttons. There's an example on this page (TODO: Add link TKTKTK).