I’m rewriting a quite complex ionic 1 project to ionic 3 and i’m facing quite difficult issue -
Small part of the app is fetching some html content (including forms) from the server and these were compiled in the i1 app on the runtime (including ionic and custom components/directives) . I am trying to find a solution how to handle this in ionic 3.
One of the options is to disable aot ( build with --dev) and use ComponentOutlet , but i’m afraid this might affect the overall perfomance of the app, and i’m aware that it’s not a good practice in general… Another option would be to move the content into InAppBrowser and serve it from the server, but again this doesn’t feel right…
Are there any other possibilities, like using JIT compiling only for small part of the app and have the rest precompiled?
Client insists on having the content dynamic to be able to control it without releasing new app versions (it changes quite frequently)