Reagent plugin for the views library, providing real-time component updates to server-side changes to data.
Go to file
2016-06-04 16:26:14 -04:00
examples update examples (switched to sente, copy of todomvc w/ browserchannel) 2016-05-31 14:48:44 -04:00
views.reagent beginning of documentation 2016-06-04 16:26:14 -04:00
views.reagent.browserchannel add mostly empty lein-cljsbuild configs 2016-05-31 15:56:05 -04:00
views.reagent.sente add doc comments 2016-06-01 17:32:24 -04:00
.gitignore update gitignore 2016-05-19 17:07:07 -04:00
LICENSE initial commit using test application code as the base & comments added 2014-12-24 19:19:43 -05:00
README.md beginning of documentation 2016-06-04 16:26:14 -04:00

views.reagent

Reagent plugin for the views library, providing real-time component updates to server-side changes to data.

Usage

This library is made up of two core parts:

  • The actual library, views.reagent, providing core functionality.
  • A client/server communications plugin library which provides the glue code between whatever underlying client/server library you're using (e.g. Sente or clj-browserchannel) and views.reagent.

Main Library Documentation

See here for full documentation.

Client/Server Plugin Documentation

Notes

views.reagent uses a separate plugin architecture for client/server communication mainly because I've observed that there are at times a variety of different ways in which people like to integrate client/server communications in their applications. I wanted to avoid (as much as possible) doing anything that would require any specific way of doing this kind of integration.

As well, speaking for myself, I use my own custom helper library that wraps over Sente which I like but did not want to force anyone else to use.

The client/server glue code provided by these libraries is incredibly light so if they do not meet your needs for whatever reason you should find it easy to create one yourself.

License

Copyright © 2016 Gered King

Distributed under the the MIT License. See LICENSE for more details.