DEV Community

Cover image for Svelte from a React developer's perspective part 2: Reactivity & Props

Svelte from a React developer's perspective part 2: Reactivity & Props

José Del Valle on February 17, 2020

In the previous article I introduced myself into Svelte and explained some of the basics from a React developer's perspective. Today, I'm getting i...
Collapse
 
yadoga profile image
yadoga

Thanks for the article! I think in the last part you forgot replacing the individual props with the actual spread:

<User {...userInfo} />
Collapse
 
jdelvx profile image
José Del Valle

You're right! I'm gonna change it. Thanks a lot!