Using Redux with Svelte and SvelteKit
Sony AK

Sony AK @sonyarianto

About: Member of Technical Staff

Location:
Jakarta
Joined:
Nov 20, 2017

Using Redux with Svelte and SvelteKit

Publish Date: Jun 18 '23
6 5

Redux with Svelte is fun to use. We will play with Redux (Redux Toolkit) and Svelte this time. Why Redux Toolkit? Relax bro, Redux Toolkit is modern recommended way to use Redux. It's official from Redux team and it's already included with Redux package.

I will give you 2 (two) repositories to play with. Both very simple to understand how Redux works using Svelte or SvelteKit.

Just check it out at these.

https://github.com/sonyarianto/redux-with-svelte
https://github.com/sonyarianto/redux-with-sveltekit
https://svelte.dev/repl/778d2aab2e1e462d9da6f7cc3c7b62bb

Basically both project is a simple counter application (increment and decrement) but this is essential to learn state management with Redux.

No distraction guaranteed, no split files, all code in single file src/App.svelte or src/routes/+page.svelte. No CSS. Just focus on the code.

Enjoy and I hope you like it.

Comments 5 total

  • rionse09
    rionse09Jun 19, 2023

    Simple yet insightful, keep up the good work!

  • Jonathan Flower
    Jonathan FlowerOct 10, 2023

    wow I cannot believe how simple these examples are. Can't wait to use this in a project.

    • Sony AK
      Sony AKOct 13, 2023

      thanks Jonathan :)

  • ismael
    ismaelJan 16, 2024

    I write this repo based on this post
    here

    • Sony AK
      Sony AKJan 23, 2024

      wow this is nice, thank you :)

Add comment