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
Gered
f2012fdc29
significant rework to defvc, simplifying sub/unsubing to views
...
defvc components no longer declare the view-sigs that will be used.
calls to view-cursor within the component's render function now
automatically trigger the component to subscribe/unsubscribe to the
view-sigs being passed to any view-cursor calls.
2014-12-28 14:51:35 -05:00
Gered
a95ebef0bc
print out a message when Jetty is done starting up
2014-12-28 01:10:20 -05:00
Gered
f376881cbc
add todomvc app example
2014-12-28 00:56:19 -05:00
Gered
c218eaadfb
use new clj-browserchannel-messaging version
2014-12-28 00:41:36 -05:00
Gered
27d339727e
fix typo in keyword name
2014-12-28 00:41:18 -05:00
Gered
d6336593bc
bump up clj-browserchannel-messaging version
2014-12-27 18:18:40 -05:00
Gered
dcf19c33e2
change default subscriber-key to :client-id
2014-12-27 18:18:25 -05:00
Gered
03b81ce513
should also throw an error when zero view-sig matches by name are found
2014-12-27 00:10:32 -05:00
Gered
92d6bc6713
update to views 0.5.0
2014-12-27 00:00:51 -05:00