PodRocket - A web development podcast from LogRocket cover image

PodRocket - A web development podcast from LogRocket

SolidJS for React developers with Erik Rasmussen

Oct 12, 2023
Erik Rasmussen, creator of Redux Form and Final Form, discusses his journey with React, exploring SolidJS as an alternative. They compare React and SolidJS syntax, delve into the concept of signals for reactivity, discuss Solid Stores, and compare SolidJS with Angular in terms of data binding. They also touch on the use of context and flow control in SolidJS for more readable JSX output.
36:59

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • SolidJS offers a unique approach to rerendering by tracking dependencies granularly, resulting in better performance compared to React's virtual DOM.
  • Transitioning from React to SolidJS requires adjusting to differences in using signals and directly incorporating signals in JSX rather than destructuring props.

Deep dives

SolidJS: A Similar But Different Beast from React

Eric Erasmus, the creator of Redox form and Final Form, discusses SolidJS—a JavaScript UI library. He explains that although he was initially a Java developer, he was drawn to React's value and began building with it. However, he experienced limitations in React's form functionality, leading him to create form libraries himself. Intrigued by the possibility of a React replacement, Erasmus explores various contenders but found SolidJS to be a truly unique option. He discusses his experience with other frameworks like Vue and Svelte, which didn't resonate with him. With SolidJS, Erasmus highlights the syntax similarities with React, making it more approachable for React developers. He compares the declarative nature of React and SolidJS and emphasizes SolidJS's unique approach to rerendering. Unlike React's virtual DOM, SolidJS tracks dependencies more granularly, allowing it to update only the necessary parts of the DOM, resulting in better performance. He also discusses SolidJS's adoption of declarative programming and its ability to create custom hooks similar to React. Erasmus acknowledges that SolidJS is still a relatively new library with a developing ecosystem. However, he encourages developers to explore and contribute to the framework, turning its immaturity into an opportunity for growth.

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