Liking cljdoc? Tell your friends :D

hiposfer.rata.core

A reagent reactive wrapper around Datascript's transactor

It provides both reactive queries and pull patterns.

Custom transactions are supported through middlewares. A middleware is a function with the signature (middleware) => (db transaction) => transaction

Therefore a middleware is a high order function which returns a function that will receive the current state and the current transaction and returns a transaction. The transaction resulting from the chain will be used instead of the original one

A reagent reactive wrapper around Datascript's transactor

It provides both reactive queries and pull patterns.

Custom transactions are supported through middlewares. A
middleware is a function with the signature
(middleware) => (db transaction) => transaction

Therefore a middleware is a high order function which returns
a function that will receive the current state and the current
transaction and returns a transaction.
The transaction resulting from the chain will be used instead
of the original one
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close