Gered
e17ab191a0
fix typo - cursor load status now correctly updated
2016-06-18 08:37:42 -04:00
Gered
1f1bb30960
add missing docs to cover client-side send function integration point
2016-06-04 19:14:24 -04:00
Gered
5bced265d6
another minor change
2016-06-04 18:59:00 -04:00
Gered
64503b4255
various README updates
2016-06-04 18:54:31 -04:00
Gered
a467bf9dc3
add main views.reagent library documentation
2016-06-04 18:30:12 -04:00
Gered
7b8dc91d24
beginning of documentation
2016-06-04 16:26:14 -04:00
Gered
3a831a7bab
add doc comments
2016-06-01 17:32:24 -04:00
Gered
cf5ddddfdc
add mostly empty lein-cljsbuild configs
...
these are pretty much only being added to make it easier to develop
these libraries using leiningen checkouts (which is what i normally do
to test changes as i work in a test webapp)
2016-05-31 15:56:05 -04:00
Gered
282debca28
update examples (switched to sente, copy of todomvc w/ browserchannel)
2016-05-31 14:48:44 -04:00
Gered
568ab6c889
update example app dependencies
2016-05-31 11:11:33 -04:00
Gered
a2a4b39c7c
update clojure/lein project names
2016-05-31 11:11:17 -04:00
Gered
8cc6e69314
rename project
2016-05-31 10:47:22 -04:00
Gered
9e85b571f4
minor cleanups
2016-05-30 19:11:12 -04:00
Gered
e6ac826c24
standardize on initialization function naming
2016-05-30 19:09:06 -04:00
Gered
8b21d12167
return the actual view-system atom, not just the updated atom's value
2016-05-30 19:06:11 -04:00
Gered
7557762ab8
fix example db connection settings
2016-05-30 19:00:47 -04:00
Gered
38dee6ee8e
can just swap directly into view-data here, no need for a cursor
...
i think i was originally worried that swapping into view-data directly
would cause unnecessary component re-renders, but that should not ever
happen because application code should not be dereferencing view-data
directly (should always be using cursors).
2016-05-30 18:59:32 -04:00
Gered
391e8fe5af
update examples
2016-05-30 17:25:57 -04:00
Gered
047db2e158
initial commit for reagent-data-views-sente
2016-05-30 15:42:02 -04:00
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
Gered
734edab0b8
slight adjustment to the format of view refresh messages
2016-05-30 12:28:01 -04:00
Gered
908082397e
update examples
2016-05-29 19:31:21 -04:00
Gered
8657491a37
updates for recent views changes
2016-05-29 19:31:11 -04:00
Gered
0423e35e95
fix incorrect doc comment
2016-05-25 16:41:19 -04:00
Gered
316c159a59
update class-registry example README.md
2016-05-25 16:35:04 -04:00
Gered
fa90ac21c7
update todomvc example
2016-05-25 16:30:21 -04:00
Gered
b8353aaafc
add "class registry" example app
2016-05-25 16:26:37 -04:00
Gered
d5e421de52
allow for defvc components to include doc comments and attribute maps
...
just like reagent components would be able to do when defined with defn
2016-05-25 13:42:11 -04:00
Gered
20be582a1a
minor nitpicky "cleanups"
2016-05-24 10:38:01 -04:00
Gered
e86ab23603
add loading? fn to check if a view-cursor is waiting for initial data
2016-05-23 15:15:23 -04:00
Gered
2936d92938
update todomvc README.md
2016-05-23 13:56:07 -04:00
Gered
2e429bb5c0
update example todomvc app
2016-05-23 13:53:36 -04:00
Gered
6542fab155
update README.md
2016-05-21 19:53:34 -04:00
Gered
246a113c63
update README.md
2016-05-21 19:50:49 -04:00
Gered
a2ddafa9e3
update reagent-data-views-browserchannel init
2016-05-21 18:27:27 -04:00
Gered
a88a24d303
add optional context-fn setting
2016-05-20 13:02:09 -04:00
Gered
2c29f7fe71
pass in context to views subscribe/unsubscribe calls
2016-05-20 12:21:30 -04:00
Gered
833054913e
update how views and parameters are provided to view-cursor
2016-05-19 22:56:17 -04:00
Gered
082d78d77b
sync up with changes to how view-sigs are sent in the views library now
2016-05-19 22:55:36 -04:00
Gered
3993415171
fix incorrect way of checking for the prefix portion of the event type
2016-05-19 22:02:42 -04:00
Gered
719b84daf3
in the last 1.5 years, the arg order for this function changed it seems
2016-05-19 18:09:22 -04:00
Gered
f38dbcb73e
meant to use reset! here of course ...
2016-05-19 18:08:46 -04:00
Gered
74fa65feaf
update gitignore
2016-05-19 17:07:07 -04:00
Gered
145ecc5ddb
add browserchannel messaging backend library
2016-05-19 17:06:57 -04:00
Gered
86b7ec0ca2
lots of updates: new views and reagent. remove direct browserchannel dep
...
new "architecture" will rely on secondary "adapter" libraries that
plug in to reagent-data-views and provide the actual underlying
client/server messaging implementation (e.g. browserchannel or sente)
2016-05-19 16:24:26 -04:00
Gered
6563a3ecc4
begin reorganizing project layout
2016-05-19 13:40:57 -04:00
Gered
ee8f4cef10
Update README.md
2016-03-04 16:19:36 -05:00
Gered
78fe687552
Update README.md
2016-03-04 16:18:43 -05:00
Gered
553401ca1a
update todomvc app with clj-browserchannel-messaging changes
2014-12-29 09:50:32 -05:00
Gered
26adc2a6ec
update todomvc example
2014-12-28 14:54:48 -05:00