Experiments >

Rollup with debounce

Experiment #7022nd March, 2021by Joshua Nussbaum

When we send notifications, there is always the posibilitity of a “pingapocalypse” - where so many messages get sent individually that they turn into noise.

One aproach is to group all activities that happen around the same time, into one set, aka “rollup”. Then we can send one notification for the entire set. This is similar to what Twitter and others do.

This is an experiement to use debouncing logic to do the rollup.

Code

https://svelte.dev/repl/9c3e97ab34af408cba3e04db1ee04b12?version=3.35.0

Demo

view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow