Dan Holmsand
0f2136d4b4
Allow render-component to take a function returning a component
2014-03-18 16:43:19 +01:00
Dan Holmsand
ba995c2e0d
Add force-update-all, to make LightTable integration easier
...
force-update-all re-mounts all root components, and makes all
their children re-render.
2014-03-18 13:09:55 +01:00
Dan Holmsand
82a1dd73eb
Make javascript interop macros more like aset and aget
...
Drop js-global, probably not worth the trouble
2014-03-17 12:02:26 +01:00
Dan Holmsand
f84369a53a
Make native components a little faster by optimizing common cases
2014-03-16 08:29:35 +01:00
Dan Holmsand
56e11f99c7
Use interop macros everywhere, delete unnecessary hacks
2014-03-14 13:47:10 +01:00
Dan Holmsand
58dd46f4ae
More usage of interop macros
2014-03-14 12:28:10 +01:00
Dan Holmsand
e21e58e509
Rename jget to get. etc
2014-03-14 11:45:44 +01:00
Dan Holmsand
c3932c9cf1
Start using interop macros
2014-03-14 11:21:05 +01:00
Dan Holmsand
8b59d1509b
Add macros for more convenient javascript interop
2014-03-14 10:27:49 +01:00
Dan Holmsand
23ae1661fe
Version 0.4.2
2014-03-06 13:27:49 +01:00
Dan Holmsand
db71fa1770
Update changelog
2014-03-06 13:15:47 +01:00
Dan Holmsand
c4679b204a
Use new memoize everywhere
2014-03-06 13:01:33 +01:00
Dan Holmsand
a3b04d6cc2
Simplify rendering of wrapped components
2014-03-06 12:29:09 +01:00
Dan Holmsand
5c194e8fe5
Use nth throughout for consistency
2014-03-06 12:26:20 +01:00
Dan Holmsand
c189bd4460
core/memoize is very slow, so use our own instead
2014-03-06 12:24:07 +01:00
Jacob Maine
6302c8ecd6
Make multimethods work as component functions.
...
This is actually a bug in ClojureScript
(http://dev.clojure.org/jira/browse/CLJS-777 ). In regular Clojure a
`MultiFn` is `ifn?`, but in ClojureScript it wasn't. The bug is now
fixed
(525154f2a4
)
but not yet released.
This code can be reverted after Reagent's ClojureScript version is
updated.
2014-03-03 17:55:40 +02:00
Dan Holmsand
34083ee872
Make sure inputs are not re-rendered unnecessarily
2014-03-02 09:58:23 +01:00
Dan Holmsand
e539069947
Allow on-change on controlled inputs to keep value unchanged
2014-02-28 12:55:20 +01:00
Dan Holmsand
11ce2bbe0d
Add link to complete source
2014-02-26 14:17:02 +01:00
Dan Holmsand
c39378bb79
Explain binary clock demo
2014-02-26 13:17:18 +01:00
Dan Holmsand
b8ffbb8dd2
Tweak clock demo
2014-02-22 17:24:22 +01:00
Dan Holmsand
af1d3e6d05
Started fiddling with clock demo
2014-02-22 12:36:34 +01:00
Dan Holmsand
e3a67043c9
Version 0.4.1
2014-02-22 08:50:27 +01:00
Dan Holmsand
7236b99cd9
Merge pull request #21 from ptaoussanis/master
...
Make github.io README links more prominent
2014-02-22 08:39:33 +01:00
Dan Holmsand
18f8ae9d35
Revert scroll change in demo
2014-02-22 08:37:30 +01:00
Dan Holmsand
148e5b4bb0
Update versions
2014-02-22 08:37:14 +01:00
Dan Holmsand
b2294b5dea
Update clojurescript.test and cljsbuild
2014-02-22 08:23:44 +01:00
Dan Holmsand
0457b2535e
Avoid some warnings in demo
2014-02-22 08:21:21 +01:00
Peter Taoussanis
6a25a639b2
Make github.io README links more prominent
2014-02-22 14:14:53 +07:00
Dan Holmsand
908452c126
Be compatible with ClojureScript 0.0-2173: implement IAtom, ISwap,
...
IReset
2014-02-22 08:04:52 +01:00
Dan Holmsand
7951b43aeb
into-array is a tiny bit faster than reduce for seqs
2014-02-21 21:39:43 +01:00
Dan Holmsand
2f63be8823
Update Readme for 0.4.0
2014-02-21 17:16:26 +01:00
Dan Holmsand
432592955f
Version 0.4.0
2014-02-21 16:31:30 +01:00
Dan Holmsand
0574a235ed
Tweak docs a little.
2014-02-21 16:24:04 +01:00
Dan Holmsand
5243b1bbf1
Add a proper changelog
2014-02-21 16:16:23 +01:00
Dan Holmsand
85e5f8d46a
Avoid warning with ClojureScript 2156
2014-02-21 16:12:41 +01:00
Jonas Enlund
c783d09b04
default width and height
2014-02-21 14:06:28 +02:00
Jonas Enlund
8fd3b8b51f
refactor geometry example
2014-02-21 13:48:48 +02:00
Dan Holmsand
ec7b9acf23
Expose as-component, document current-component
2014-02-21 08:23:16 +01:00
Dan Holmsand
b9c3e106e8
Update React to 0.9.0
2014-02-21 08:04:16 +01:00
Dan Holmsand
d1d5d3c31e
Handle page switching better on ios
2014-02-21 07:45:40 +01:00
Dan Holmsand
b0a35f3e4e
Move geometry example source to proper directory to avoid warnings
2014-02-21 07:44:30 +01:00
Dan Holmsand
b6c20ac863
Compare all maps passed to components the same way
2014-02-17 12:42:08 +01:00
Dan Holmsand
4c48271d26
Add more to news post, and prettify code blocks
2014-02-16 08:40:52 +01:00
Dan Holmsand
ede45fcad2
Add news item for 0.4.0
2014-02-15 17:29:37 +01:00
Dan Holmsand
478b74f6ae
Modify geometry example to allow inclusion into other component
2014-02-15 17:05:22 +01:00
Dan Holmsand
8f308a4fe3
Tweak examples to take advantage of arbitrary argument passing
2014-02-15 13:50:10 +01:00
Dan Holmsand
ba18691674
Cleanup
2014-02-15 12:29:16 +01:00
Dan Holmsand
1555fd9c3e
Revert ref support for the time being
...
There might be a more elegant way of supporting refs...
2014-02-15 12:27:46 +01:00
Dan Holmsand
2bb32eb21f
Make set-state etc async as well, by using an atom
2014-02-15 11:57:52 +01:00