Commit Graph

1102 Commits

Author SHA1 Message Date
Dan Holmsand b4dec115b2 Add docs for track, track! and dispose! 2015-12-18 14:57:16 +01:00
Dan Holmsand 8141b08bdf Tweak news about 0.6.0 2015-12-18 14:45:52 +01:00
Dan Holmsand b62c697828 Add news about track! and dispose! 2015-12-16 17:14:19 +01:00
Dan Holmsand f53b4e4d20 Add news about next-tick and after-update 2015-12-14 15:41:46 +01:00
Dan Holmsand a4198f3703 Add news about breaking changes and cursor 2015-12-09 14:06:48 +01:00
Dan Holmsand ddd96eb110 Add section on native React interop 2015-12-09 10:52:57 +01:00
Dan Holmsand ce10f38af7 Note new dependencies in changelog 2015-12-09 10:25:17 +01:00
Dan Holmsand cdff064b85 Add section on new React 2015-12-09 10:12:21 +01:00
Dan Holmsand 11ec6c1769 Tweak css 2015-12-09 10:12:05 +01:00
Dan Holmsand b353baf439 Add a section about rswap! 2015-12-07 14:45:30 +01:00
Dan Holmsand ec544de8de Add news about with-let 2015-12-07 12:44:02 +01:00
Dan Holmsand 8d3a2bdc7d More news text 2015-12-07 11:22:49 +01:00
Dan Holmsand d1a48eb73e Start writing news for 0.6.0 2015-12-06 21:56:03 +01:00
Michael Campagnaro 2ad5c262e2 Fix doc formatting 2015-11-27 11:13:45 -05:00
Dan Holmsand 348ac4aaf8 Start filling in change log. 2015-11-25 17:57:06 +01:00
Dan Holmsand 2a63c0a214 Load React, ReactDOM etc on init
That should make error messages easier to see.
2015-11-20 19:15:25 +01:00
Dan Holmsand 443e7f45c5 Update React to 0.14.3, and use react-dom-server 2015-11-20 18:57:00 +01:00
Dmitri Sotnikov 5a5670b3fe Update README.md 2015-11-20 09:23:31 -05:00
Dmitri Sotnikov c1d4913e6a Update project.clj 2015-11-16 20:29:14 -05:00
Dan Holmsand 6e8a73cba3 Restore CONTRIBUTING.md
Somehow got lost in merge
2015-10-30 10:21:38 +01:00
Dan Holmsand 0dd46894f7 Merge branch 'reset-inside-reaction' of https://github.com/runningskull/reagent 2015-10-30 10:06:07 +01:00
Juan Patten 891609cd1a Fix bug where auto-run reactions might not re-run 2015-10-29 00:19:51 -06:00
Dan Holmsand cdee524fed Make argv more consistent when used from plain React 2015-10-28 12:43:35 +01:00
Dan Holmsand 91a8587b79 Make core/react a function
That allows us to make react loading lazy in the future.
2015-10-22 15:11:15 +02:00
Dan Holmsand 2f6f2a4491 Fix indentation and style 2015-10-22 13:44:14 +02:00
Dan Holmsand 63515236cb Make sure empty [:input] doesn't throw exception 2015-10-22 13:31:58 +02:00
Dan Holmsand 45b93c8145 Rename .' and .! to $ and $! respectively
This seems to be necessary to avoid trouble with bootstrapped cljs.

The old macros are still around, but deprecated.
2015-10-22 13:23:49 +02:00
Dan Holmsand 7cbde6f115 Load ReactDOM and ReactDOMServer lazily 2015-10-15 13:56:05 +02:00
Dan Holmsand f280e979c8 Add more convenient time macro 2015-10-15 13:19:36 +02:00
Dan Holmsand cf96f3c347 More space for h2 2015-10-15 11:23:47 +02:00
Dan Holmsand 4d00b44c7c Update ClojureScript to 1.7.145 2015-10-14 16:09:02 +02:00
Dan Holmsand c0bf6c488b Make h2 bigger 2015-10-14 15:21:03 +02:00
Dan Holmsand 73ba98bc93 ReactDOMServer doesn't seem to exist anywhere
So, don't look for it.
2015-10-14 15:10:46 +02:00
Dan Holmsand 54ecf706d5 Rethrow errors caught during try-run 2015-10-14 15:08:33 +02:00
Dan Holmsand 2d4500b61f Tweak demo site styling a little 2015-10-14 09:51:51 +02:00
Dan Holmsand 47c5fcf267 Unoptimize component...
Remove "optimizations" that didn't doo much good.
2015-10-12 22:30:49 +02:00
Dan Holmsand 92984c4c56 Add react to core for convenience 2015-10-12 17:29:03 +02:00
Dan Holmsand 776c47491c Make sure lifecycle callbacks work when called as native component 2015-10-12 17:18:37 +02:00
Dan Holmsand fbbc5e72c6 Flush should not mess with scheduled updates 2015-10-12 09:25:33 +02:00
Dan Holmsand 78fffe263e Make next-tick more predictable, add after-render 2015-10-11 22:08:42 +02:00
Dan Holmsand edf001cb62 Reuse react from util in server 2015-10-11 16:43:25 +02:00
Dan Holmsand 253cb999ba Call component functions with this set to current component
This makes us more consistent with React classes, and gives more
informative stack traces sometimes.

Also stop wrapping unknown methods - let React deal with them directly.
2015-10-11 15:04:50 +02:00
Dan Holmsand 04325c2e0e Stop trying to be too clever in render
There's no reliable way of making React forget a mounted tree
completely, and the old solution sometimes makes things worse.
2015-10-11 13:27:09 +02:00
Dan Holmsand cdea2257f2 Revert to not munging names in interop 2015-10-11 13:26:43 +02:00
Dan Holmsand 06973350da Update react-dom to 0.14.0 2015-10-10 14:20:20 +02:00
Dan Holmsand d9ad7740ec Make it easier to use with webpack and node
Demo and tests now can run with webpack-generated React

Use js/require, to make Reagent work better with node
2015-10-10 13:40:33 +02:00
Dan Holmsand d30ef3aedb Make copying of watches in ratom a little faster 2015-10-09 14:41:03 +02:00
Dan Holmsand 88d961563a Simplify template.cljs a little 2015-10-09 13:32:30 +02:00
Dan Holmsand 47f49868ae Optimize template.cljs a little 2015-10-09 09:40:41 +02:00
Dan Holmsand 32a9609b11 Add a few more tests for track 2015-10-08 23:12:32 +02:00