-
Hello, If I try to create an object with a constructor and append that object to the game data it appears as though the code hangs. That is, I do not see the debug panel on the side of the app. However, if I change the code to append an integer, then the sidebar does appear. Here is the code:
Does anyone know what I'm doing wrong? Thank you! -m |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This looks like a javascript question rather than specifically a boardgame.io question. Someone might be able to help you with getting up to speed in javascript here, but typically project specific repos are not the right place for them. That said I would recommend using an LLM to learn javascript, they're pretty good at reasoning through code and explaining how things work and how they typically should. Feel free to follow up with your experiences with that. |
Beta Was this translation helpful? Give feedback.
Agreed. There are subtleties of using the bgio framework that make working with vanilla JS a little more involved.
I write front-end code so infrequently I forgot about devtools. Here is the error in the console: