stencil-redux-demo icon indicating copy to clipboard operation
stencil-redux-demo copied to clipboard

A small demo showing how to use Redux in a Stencil app with @stencil/redux

Stencil Redux Demo

This is a simple demo using Stencil with the Stencil Redux collection.

Stencil Redux is a small library that uses the vanilla Redux library and automatically supplies state to props on components, as well as binding actions to the store's dispatch.

This example also follows a Typed Redux Action Pattern which we find adds some nice TypeScript benefits to using Redux.

See Stencil Redux for more information on how that collection works.