yeah, nothing necessarily non-canon there except perhaps not fitting certain fans' opinions about how it should've
Thinking on it further, i don't think we've ever actually seen a ship in a spaceborne building dock that wasn't a fully formed skeleton at the very least. Perhaps the component parts are assembled planet-side.
Honestly, alot of this griping about how "it would make more sense" to this or that in a particular way is a bit silly. So much about treknology really doesn't make sense when you give it some thought. If they really had transporter technology as depicted humans could simply create anything at the touch of a button and live forever. Just have fun with it.