Kauko / tuck

Tuck: a minimalistic helper library for UI folding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tuck logo Tuck

Clojars Project CircleCI

Tuck helps you fold away those reset!s and swap!s from your UI views.

Tuck is a minimalistic helper library for UI folding in Reagent. Tuck defines a protocol for events and how they are processed and provides a simple way to send events from UI code to be processed.

Tuck can be used at any level (not just at the app root): simply pass tuck a reagent atom and a component.

Tuck is heavily inspired by Petrol but is even lighter and has no dependencies (aside form Reagent itself).

Usage

Clone this repo and run "lein figwheel dev" in the examples folder.

About

Tuck: a minimalistic helper library for UI folding

License:The Unlicense


Languages

Language:Clojure 100.0%