Skip to content
stroid

Examples

Real-world patterns built with stroid. Each example demonstrates different features working together in a complete application.

Todo App

Classic todo list with add, toggle, delete, and filter. Shows createStore, useStore, and selectors.

createStoreuseStoreSelectorsComputed values
Live playground coming soon

Shopping Cart

E-commerce cart with persistence and cross-tab sync. Add items, adjust quantities, see totals update in real-time.

PersistenceTab SyncComputed valuesAsync actions
Live playground coming soon

Auth Flow

Complete authentication pattern with login, logout, token refresh, and protected state.

Async actionsPersistenceError handlingTypeScript
Live playground coming soon

Form Builder

Dynamic form with useFormStore — validation, dirty tracking, and async submission.

useFormStoreValidationDirty trackingAsync submit
Live playground coming soon

Theme Settings

User preferences persisted to localStorage with cross-tab sync. Change theme in one tab, see it everywhere.

PersistenceTab SyncDevTools
Live playground coming soon

Real-time Dashboard

Data fetching with loading/error states, polling, and optimistic updates.

Async actionsPollingOptimistic updatesError handling
Live playground coming soon