without it app starts in same jvm and we're told that Ctrl+C will not
always kill the Ember server:
https://typelevel.org/cats-effect/docs/2.x/datatypes/ioapp
WARNING: If you run your IOApp program from sbt, you may observe cancellation and resource releasing is not happening. This is due to sbt, by default, running programs in the same JVM as sbt, so when your program is canceled sbt avoids stopping its own JVM. To properly allow cancellation, ensure your progam is forked into its own JVM via a setting like fork := true in your sbt configuration.
for some reason I was getting error:
Failed to load url /home/enefedov/Documents/personal/planning-poker-grargh/common/.js/target/scala-3.2.0/common-fastopt/main.js (resolved id: /home/enefedov/Documents/personal/planning-poker-grargh/common/.js/target/scala-3.2.0/common-fastopt/main.js) in /home/enefedov/Documents/personal/planning-poker-grargh/main.js. Does the file exist?
adding overall app state, "my player id"
with intent to feed in data from auth methods, and read in other parts,
for example visibility of sections
don't quite sure that's the intended way