paint-brush
Svelte: Communication Between Componentsby@the_rock
6,411 reads
6,411 reads

Svelte: Communication Between Components

by Sasha4mFebruary 26th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Svelte: Communication Between Components - a callback and event dispatcher. A callback method is the way you do communication between components in React.js. A parent component passes a callback method to a child, and then, child invokes it. In this type of communication, a component triggers some events on it's self and then someone (a parent component) will listen to it and do something once triggered. Sveltte allows you to use both of them (as Vue does)

Company Mentioned

Mention Thumbnail
featured image - Svelte: Communication Between Components
Sasha HackerNoon profile picture
Sasha

Sasha

@the_rock

Software Developer from monday to friday (Healthcare sector), Game Developer in free time

About @the_rock
LEARN MORE ABOUT @THE_ROCK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sasha HackerNoon profile picture
Sasha@the_rock
Software Developer from monday to friday (Healthcare sector), Game Developer in free time

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite