@darius I absolutely shipped non-public-facing code this way when React was first taking off, in order to build a thing that would have been super painful to do in jQuery. The docs used to do a really good job of explaining this as a first-class option! I loved how it could be gently introduced into an existing codebase without having to rewrite everything.

Then everybody went and rewrote everything using it.