Jack first explores in detail the reasons why you might want to run your client-side application on the server, including increasing your audience by enabling users without JS enabled and solving the common single-page-application problem of search-engine crawlers being unable to fully read the site. Jack demonstrates that by building the site this way round, you can build for non-JS clients and then layer JS support on, meaning you can give users with JS an incredibly snappy site without compromising.
Jack briefly discusses how ReactJS’s abstractions have led the way here by removing data binding and unifying the flow of data and also outlines some side benefits of this approach, including much easier testing. Although Jack uses ReactJS as his example, EmberJS is also taking this approach, and in the future it’s likely other frameworks will as well.
Following the discussion, Jack shows attendees how to build these applications using ReactJS and webpack. He demonstrates how to configure webpack to generate client-side bundles for your application while running ReactJS on the server through NodeJS. He also covers the development workflow and some additional third-party tools that make building these apps as straightforward as they can be.
Jack Franklin is a developer, writer, and speaker. He is the author of Beginning jQuery.
This event will be sponsored by Brandwatch, so free beers & pizzas will be supplied! Please contact hello AT asyncjs DOT com if you have specific dietary requirements.
Thinking of coming? Add yourself on Lanyrd