Skip to content
Side effects aren't declarative. What if they were? episode artwork

Sep 11, 2019 1 hr 11 min

Side effects aren't declarative. What if they were?

from Frontend First Hosted by Frontend First

Topics include: 0:53 – Metaphysics and JavaScript by Rich Harris, and declarative side effects 15:26 – An Ember example that would be improved by hooks and declarative side effects 23:46 – Pitfalls and escape hatches when using hooks 35:40 – Rich's argument that rendering isn't even a declarative function of state, let alone side effects 41:42 – Deeper dive into useEffect docs 1:01:41 – Thought experiment on effects that sync with different data stores Sponsors: Next Release, mention EmberMap when you sign up for a trial and get 10% off Links: Metaphysics and JavaScript, by Rich Harris React's useEffect

Episode details come from the podcast's RSS feed.

Embed this episode

Sam and Ryan talk more about their recent experience working with React Hooks. They dive into useEffect, talk about how the hooks paradigm encourages UI developers to think about their application's side effects declaratively, discuss whether the paradigm is too much of a departure from real-world stateful UI development, and compare it to working with side effects in Ember applications.

Ready to play

Side effects aren't declarative. What if they were?

0:00 1:11:53

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Frontend First?

This episode is 1 hour and 11 minutes long.

When was this Frontend First episode published?

This episode was published on September 11, 2019.

Can I download this Frontend First episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.