Reagent plugin for the views library, providing real-time component updates to server-side changes to data.
Go to file
Gered a2304f978b prevent duplicate subscriptions being sent on page load in some cases
reagent-data-view's reconnection handling code in on-open that was
intended to make sure active components have their views resubscribed
was also erroneously running on the first connection at page-load time
if some components happened to render before the client/server messaging
system (browserchannel/sente) connected. this caused the view-data
atom's state to get set up in a way that when on-open! was called when
that first connection was finally established on page load, it would
look like there were existing subscriptions that had to have
re-subscription messages sent as if we were processing a reconnection.

we simply track whether on-open is being called for the first connection
or not to handle this properly.
2016-05-30 15:41:42 -04:00
examples update examples 2016-05-29 19:31:21 -04:00
reagent-data-views prevent duplicate subscriptions being sent on page load in some cases 2016-05-30 15:41:42 -04:00
reagent-data-views-browserchannel slight adjustment to the format of view refresh messages 2016-05-30 12:28:01 -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 update README.md 2016-05-21 19:53:34 -04:00

reagent-data-views

Reagent components that can subscribe to receive realtime database updates.

This library is still in the experimental stages!

I'm hoping to have a release with documentation and examples soon. For now, tread carefully when browsing through the code in this repository!

This requires the use of my fork of the views library (which is also currently in the experimental stage).

License

Copyright © 2016 Gered King

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