DEV Community

Discussion on: Sailing the Seas with Vue - My Take on Taipan

Collapse
 
edimeri profile image
Erkand Imeri • Edited

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.

Collapse
 
raymondcamden profile image
Raymond Camden

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.