Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Posts by bignose
Note that, by declaring sh as the language, you have implicitly declared "a # introduces a comment", because that's what is implied by the sh syntax. But you say you don't want that interpretation...
This depends largely on what "do something" you want to do, in response to a state change. If you just need to re-compute some other state: Write that as additional code in the component funct...