The Wayback Machine - https://web.archive.org/web/20220105064723/https://github.com/topics/svelte3
Skip to content
#

svelte3

svelte logo

Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.

Here are 334 public repositories matching this topic...

DimitrisRK
DimitrisRK commented Nov 3, 2021
// Remove all toasts from "new" container
toast.pop((i) => i.target !== 'new')

I believe this functionality is contradicting itself.
Callback should delete toasts that meet the condition instead.
At first look, if comment wasn't there, one would parse this line of code as Pop all toasts whose target is NOT new.

The following approach would be more understandable.

// Remove

Created by Rich Harris

Released November 2016

Repository
sveltejs/svelte
Website
svelte.dev
Wikipedia
Wikipedia

Related Topics

angular react vue