sveltekit-reactions Svelte Themes

Sveltekit Reactions

🎉 An emoji reactions component to use on your site

SvelteKit emoji reactions component

A simple component that can be adapted for use in your SvelteKit project.

Uses SvelteKit form actions to submit reactions to a Upstash Redis database with Upstash rate limiting.

Configurable through the src/lib/config.ts file.

Blog post

Detail on how it was implemented: https://scottspence.com/posts/sveltekit-page-reaction-component-with-upstash-redis

Demo

https://sveltekit-reactions.vercel.app

Resources

Initial idea from:

How to use rate limit with SvelteKit:

Thanks

Jamie Barton for the reactions post on the Grafbase blog.

Geoff Rich for the rate limit guide on the Upstash blog.

Top categories

Loading Svelte Themes