Knockout ‘flickering’ issue

Yes, it is very easy actually. Apply display:none to the top level div (or w/e container), and data-bind=”visible: true”. This will cause the page to be hidden until knockout unhides it via binding (which obviously can’t happen until its fully loaded). Since you are using a non-observable value, Knockout won’t even bother to re-check this … Read more

In a single-page app, what is the right way to deal with wrong URLs (404 errors)?

If you care about SEO, one of the ways that angular.io was able to solve this problem (at least with Google anyway) is by using noindex meta tag “to indicate soft-404 status which will prevent crawlers from crawling the content of the page”. Apparently it can be added to the document via JavaScript. Alternatively, using … Read more

Architecture of a single-page JavaScript web application?

MVC architecture of PureMVC/JS is the most elegant IMO. I learned a lot from it. I also found Scalable JavaScript Application Architecture by Nicholas Zakas helpful in researching client side architecture options. Two other tips I’ve found view, focus, and input management are areas that need special attention in single page web apps I also … Read more