JavaScript Archives - Software Engineering Daily
JavaScript Archives - Software Engineering Daily
JavaScript Archives - Software Engineering Daily
Slack Frontend Architecture with Anuj Nair
1 hour 2 minutes Posted Feb 27, 2020 at 2:00 am.
0:00
1:02:21
Download MP3
Show notes

Slack is a messaging application with millions of users. The desktop application is an Electron app, which is effectively a web browser dedicated to running Slack. This frontend is built with ReactJS and other JavaScript code, and the application is incredibly smooth and reliable, despite its complexity.

When a user boots up Slack, the application needs to figure out what data to fetch and where to fetch it from. Companies that use Slack heavily have thousands of messages in their history, and Slack needs to determine which of those should be pulled into the client. There are profile images, and logos, and custom emojis, all of which are used to define the user’s custom workspace experience.

Anuj Nair joined Slack in late 2017. In the years since he has been with the company, Anuj helped rewrite the Slack frontend client, including work on the bootup experience, the caching infrastructure, and the role of service workers. Anuj joins the show to discuss his work on the Slack frontend architecture and the canonical view layer problems that Slack faces.

Sponsorship inquiries: sponsor@softwareengineeringdaily.com

The post Slack Frontend Architecture with Anuj Nair appeared first on Software Engineering Daily.