code: def run(self):
      if self.react_ui.should_print:
          print(f"{self.counter}: {self.react_ui.message_to_print}")
          self.counter += 1
  
file_path: pytorch-lightning/src/lightning/app/cli/react-ui-template/example_app.py
imports: from pathlib import Path
  from lightning.app import LightningApp, LightningFlow, frontend
label_desc: Use image node_id 2 for calling the HelloLitReact obj's underlying member method code with example usage: obj.run() without return types