DEV Community

Discussion on: Fetch() is All you Need

Collapse
etienneburdet profile image
Etienne Burdet

Yep, there is a reason why SSR frameworks still favor Nuxt. It's hell with fetch, there's is always calls responding weirdly.

Collapse
ruheni profile image
Ruheni Alex Author

How does isormophic-unfetch perform in SSR using Nuxt?

Thread Thread
etienneburdet profile image
Etienne Burdet

That's a good question! Never tried it, but seems very attractive. Very minimalist.
Zapper has a nice approach: replacing fetch or this.fetch as needed (being a compiler it's easy enough to do). Effectively, you're just writing you're only using fetch.