5 ms·
This is a good writeup. We ran into some of the same issues on the smaller site I work on, compounded by use of pushState. We use require.js and a very simple c
by justinph 12y ago
This is a good writeup. We ran into some of the same issues on the smaller site I work on, compounded by use of pushState. We use require.js and a very simple client side router to determine what packages to load, and depend on require.js to pick up anything else.
http://blogs.mpr.org/developer/2014/01/dynamically-loading-assets-with-pjax-and-require-js/ http://blogs.mpr.org/developer/2014/01/dynamically-loading-a...