21
loading...
This website collects cookies to deliver better user experience
"An architectural style where independently deliverable frontend applications are composed into a greater whole"
main.js
)! (We will cover this later), have to handle assets so I can load them appropriately.main.js
is behind an endpoint right now in the node app which in turns streams the files from bucket, so even if the bucket url changes the I will only have to update my endpoint's controller, I can enable CDN here as the all are files for faster delivery.main.js
I dynamically creates a div with id required to mount it. Then the React app javascript just executes and mount itself into that id. After that it's same as any React app. Communication between this app and the OS app will not be straight forward as they are not sharing the same context so we have to some helper function on window
to facilitate that.