jspro.com jspro.com

How to Organize a Large React Application and Make It Scale

This article is by guest author Jack Franklin. SitePoint guest posts aim to bring you engaging content from prominent writers and speakers of the Web community In this article, I'll discuss the approach I take when building and structuring large React applications. One of the best features of React is how it gets out of your way and is anything but descriptive when it comes to file structure. Therefore you'll find a lot of questions on...

jspro.com jspro.com

Higher Order Components: A React Application Design Pattern

In this article we will discuss how to use Higher Order Components to keep your React applications tidy, well structured and easy to maintain. We’ll discuss how pure functions keep code clean and how these same principles can be applied to React components. Pure Functions A function is considered pure if it adheres to the following properties: All the data it deals with are declared as arguments It does not mutate data it was given...

pusherblog

Talking Universal JavaScript at Fluent Conf

Back in March I had the pleasure of flying out to San Francisco to speak at Fluent Conf, a yearly event organised by O’Reilly focused on front-end development, to speak about Universal JavaScript. You can find the video below, along with links to the slides and extra information. By writing our applications in this universal style we can improve the performance of our JS applications along with proving an experience for those who...

pusherblog

Hack24 in Nottingham

A couple of weeks ago Vivan and I packed our bags to head to Nottingham for Hack24, a weekend hackathon held by Tech Nottingham. We were looking forward to seeing what inventive uses of Pusher a crowd of 100+ hackers could come up with in a short space of time. Hack24 was held in the incredible Nottingham Council House (Cronofy have some great pictures of the venue in their blog post on the event) which provided a picturesque setting...