DEV Community

Cover image for Svelte – props downlifting (pattern) & uplifting (anti-pattern)
Lukas Gaucas
Lukas Gaucas

Posted on • Updated on


Svelte – props downlifting (pattern) & uplifting (anti-pattern)

To feel oneself completely on foot you need to be able go back and forth, right? So here it goes...

NOTE : In case IDE would throw an error on initial load, just try to reload the IDE !

Svelte state downlifting (pattern)

You probably noticed I've used slots , I'll guess this is "at a good place at a good time" to exploit slots tho...

Svelte state uplifting (anti-pattern)


If any suggestion how to improve the source code or relevant , please let me know in the comment section below . Take care !

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git