I am beginning to dive into a new project and have ran into a requirement that I need some help thinking through.
Having the entire app loaded once, and even in a single compiled js file, what is best practice for accomplishing this?
I had one thought of my own and have found another potential.
A ) coming from rails, I thought I could just build a very thin rails app that handles authentication in a server side view that doesnt load any of the app js. Then on successful authentication, transition the user to a view that loads all of the JS for the app and go from there.
Would love to hear from people on best practices for this type of scenario.