LibraryActive

SolidJS Stores

Reactive state management primitive from solid-js/store for managing complex application state.

Open source page

Product features

Product features

Adding testing packages

Array append

Add elements to an array by targeting the tasks key and the next index.

Components testing

createStore

Creates a store returning a state object and a setter function.

Getting started

Lazy properties

Store properties are created lazily and require a tracking scope to update reactively.

Mutating state with produce

Mutate store state using the produce helper.

Rendering the component

SolidStart configuration

Testing

Testing configuration

Testing in context

Testing packages explanations

Testing through Portal

TypeScript configuration

Writing tests