I have an application that requires to import some modules every time I create a new view; is there a pattern to create some kind of "bundle" of imports and them import the bundle instead of importing separate modules every time?
example:
import x from 'x'
import y from 'y'
would be something like
import bundle from 'viewBundle'