JavaScript Jabber cover image

Software Development as a Craft with Netta Bondy - JSJ 551

JavaScript Jabber

00:00

React - A Lookup Table

React was built on top of a CMS. It used to have a huge switch statement which mapped information received from the CMS into components. I replaced this with a dictionary that maps identifiers to component functions and then just instantiate them all in exactly the same way.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app