Svelte: Communication Between Componentsby@the_rock
6,086 reads

Svelte: Communication Between Components

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@the_rock

Sasha

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


Receive Stories from @the_rock

react to story with heart
Sasha HackerNoon profile picture
by Sasha @the_rock.Software Developer from monday to friday (Healthcare sector), Game Developer in free time
Portfolio

RELATED STORIES

L O A D I N G
. . . comments & more!