2min chapter

Frontend First cover image

JavaScript needs a model layer

Frontend First

CHAPTER

The Problem With React in JavaScript

The paradigms that have become popular in JavaScript because of the success of libraries like react have spilled out into the non UI parts of javascript. There's no way to thread it through rails so there's just no layers for that sort of thing, right? You can just say current user and the first time it's called It will grab it from the database, but then any other time it'scalled. But you're not going to want to open a node server and import likeyou know classes Instead people start exporting functions from their libraries instead. That was such a beautiful thing about when react first came out.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode