Slides and code from my workshop React Everywhere at CodeMash 2017 where I had attendees build a conference schedule using both React and React Native, while sharing the redux store from both.
Slides and notes from my talk at MidwestJS 2016, Bootstrapping React Applications - where I discuss how to start a new project without getting bogged down in analysis paralysis
Hereโs a simple way to avoid postbacks in your site, still be SEO friendly and degrade gracefully to JavaScript free browsers (and handle middle clicks and copy&paste) in ASP.NET MVC using jQuery.
First, weโll create an alternate MasterPage called No.master with no content, only one ContentPlaceHolder:
<asp:ContentPlaceHolder ID=โMainContentโ runat=โserverโ />
Now, weโre able to tell via HTTP Headers if a Request is an Ajax Request, so weโll write a new method in our Controller Base class to toggle the master page: