A tiny event-based state manager Storeon for Velo

this article on my blog

Motivation

How it works

Package Manager panel in Wix editor, installing storeon-velo
public
└── store.js
public/store.js
Example: Wix Editor layouts with two counters for increment and decrement
import { dispatch, connect, connectPage } from "public/store";
Page Code

Modules

memory module
trackEvent module
const store = createStore([
coutnerModule,
memoryModule,
trackEventModule,
]);

Conclusion

Resources

DEMO

Also

--

--

--

JavaScript Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Build Auth App using AWS Cognito with NuxtJS and TypeScript

5 Signs You’re Not Ready for the Software Developer Job

Velo by Wix: The utils for repeated item scope event handlers

Houdini Snacks | Curve Width In Viewport

React all need to know

An introduction to Object-Oriented Programming in JavaScript

Programming with JS: Recursion

How To Render Large Lists Faster on Websites and Apps

Website themes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alexander Zaytsev

Alexander Zaytsev

JavaScript Developer

More from Medium

What’s the 101? the useState Hook in React

Setup Environment React Native

Nextjs/Reactjs: How to create Templates— The Pixels

I tried some shitcoding

A screenshot of the website