views.reagent/reagent-data-views
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
..
src/reagent_data_views prevent duplicate subscriptions being sent on page load in some cases 2016-05-30 15:41:42 -04:00
project.clj lots of updates: new views and reagent. remove direct browserchannel dep 2016-05-19 16:24:26 -04:00