Closed kpalway closed 7 years ago
Can we have running events actually. So like maybe just send a console message called "running"
Yeah I was thinking of doing these sort of things as events like Larry mentioned in my last PR. I don't know if there's an event API available or what I have to do to set them up, though.
If you look at the reducers in src/reducers you'll see the sort of API were working with. {action: action_name, payload: dat}
The online compiler stuff I'm still hooking up.
Two reasons for the interface changes: I don't see any need for the react code to be dealing with PID objects at all, and I think the Compiler can decide when to call the startIO() method. The react code should basically be able to call a single method for most of the buttons a user presses.