Didn't check on detail but i think Game.vue component is too long.
Try to figure out what to extract from that in order to make it more SOLID. After all, in frontend it's all about how we compose UI Objects/Components.
Raymond Camden is a experienced developer advocate and evangelist. His work focuses on APIs, the web platform, and generative AI. He is the author of multiple books on development and has been activel
I think I extracted as much as I could. In theory, the whole keyboard menu aspect could be a component, emitting events that Game listens to, but that feels like overkill. I'd gladly take any suggestions though for what you would rip out.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Didn't check on detail but i think Game.vue component is too long.
Try to figure out what to extract from that in order to make it more SOLID. After all, in frontend it's all about how we compose UI Objects/Components.
I think I extracted as much as I could. In theory, the whole keyboard menu aspect could be a component, emitting events that Game listens to, but that feels like overkill. I'd gladly take any suggestions though for what you would rip out.