Commit Graph

160 Commits

Author SHA1 Message Date
Dmitri Sotnikov 2df1b1d25c bumped up react to 15.2.0-0 2016-07-01 15:51:28 -04:00
Dan Holmsand d995e02057 Version 0.6.0-rc 2016-06-09 15:51:29 +02:00
Dan Holmsand d3ee4a7f8b Update figwheel and simplify doc app configuration 2016-05-27 12:55:13 +02:00
Dan Holmsand 414be9355f Merge branch 'master' of https://github.com/ducky427/reagent 2016-05-26 20:02:20 +02:00
Dan Holmsand 072cce4844 Add add-on-dispose! to Reaction 2016-05-26 17:41:30 +02:00
Rohit Aggarwal 56f817b11c Upgraded React to 15.1.0 2016-05-22 17:23:31 +01:00
Yogthos b611b5fedd bumped up version to alpha2 2016-05-03 20:06:21 -04:00
Rohit Aggarwal 2703d12c85 Updated react to latest version. 2016-04-30 21:45:04 +01:00
Dan Holmsand d776b88113 Use :parallel-buld 2016-04-30 12:43:18 +02:00
Dan Holmsand ec6260d33c Make webpack build work with newer ClojureScript 2016-04-29 21:29:18 +02:00
Dan Holmsand e801b8e29a Update clojurescript, figwheel and cljsbuild 2016-04-29 09:34:36 +02:00
Juho Teperi 9d05459e1a Update Cljsjs React dependency
The latest Cljsjs React build adds missing nativeEvent property for
SyntheticEvent object on the extern file.
2016-04-27 23:27:21 +03:00
Tatu Tarvainen 5619269695 Upgrade to latest React 2016-04-16 10:01:33 +03:00
Dan Holmsand f76bce6a2f Delay error reporting of missing ReactDOM[Server]
This should improve error messages, and allow Reagent to be used
without ReactDOM[Server] being present at all.
2016-02-24 13:34:26 +01:00
Dan Holmsand 9351b16a15 Version 0.6.0-alpha 2015-12-21 09:25:04 +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 c1d4913e6a Update project.clj 2015-11-16 20:29:14 -05:00
Dan Holmsand 4d00b44c7c Update ClojureScript to 1.7.145 2015-10-14 16:09:02 +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 fa48e61f47 Start move to React 0.14 2015-10-08 14:14:34 +02:00
Dan Holmsand be1dfaeba7 Merge branch 'with-let' 2015-09-24 11:00:32 +02:00
Dan Holmsand 572e4bbf96 Merge branch 'betterdemo' 2015-09-24 10:59:55 +02:00
Dan Holmsand ea75be2952 Go back to not using secretary 2015-09-15 12:27:07 +02:00
Dan Holmsand c689d01452 New snapshot 2015-09-11 16:34:46 +02:00
Dan Holmsand abcf6cb9e1 Version 0.5.1 2015-09-11 16:31:20 +02:00
Dan Holmsand 679136f5d5 Make constants const 2015-09-11 12:35:06 +02:00
Dan Holmsand f785362b46 Some cleanup 2015-09-10 21:27:02 +02:00
Dan Holmsand 0634806104 wip 2015-09-10 15:14:20 +02:00
Dan Holmsand c289055133 Add news for 0.5.1 2015-09-09 16:44:42 +02:00
Dan Holmsand db11a1c353 wip 2015-09-08 21:49:05 +02:00
Dan Holmsand d715a9568c wip 2015-09-07 22:22:26 +02:00
Dan Holmsand 16f9a15615 Version 0.5.1-rc3 2015-09-07 09:51:45 +02:00
Dan Holmsand 8766d722b8 Don't try to reposition cursor when input value isn't a string
Fixes #183
2015-09-07 09:45:02 +02:00
Dan Holmsand db54d327e9 Version 0.5.1-rc2 2015-09-01 10:48:11 +02:00
Dan Holmsand 57c747b358 Add asserts to adapt-react-class and reactify-component 2015-08-24 20:11:04 +02:00
Dan Holmsand b45f84fa71 Version 0.5.1-rc 2015-08-20 20:48:23 +02:00
Dan Holmsand e761294c81 Update React, ClojureScript and figheel versions 2015-08-19 10:12:11 +02:00
Dan Holmsand f00ca03f70 Merge https://github.com/holmsand/reagent 2015-07-30 19:25:08 +02:00
Dan Holmsand 9bfd1a250b Update clojurescript 2015-06-02 11:02:46 +02:00
Dan Holmsand 569322949b Take advantage of new figwheel 2015-05-31 11:51:11 +02:00
Dan Holmsand 05bb63f254 Update React to 0.13.3-0, and more
Newer ClojureScript, figwheel, Clojure, cljsbuild
2015-05-29 10:50:23 +02:00
Yogthos ff10d23591 added codox 2015-05-11 12:36:11 -04:00
Dan Holmsand 767410d8d8 Update clojurescript, figwheel and cljsbuild.
Stop using :figwheel-always, that seems to be broken in the new
figwheel.
2015-03-21 13:53:37 +01:00
Dan Holmsand 10d54ea3e0 Set version to snapshot 2015-03-11 19:15:29 +01:00
Dan Holmsand 5530917f3b Version 0.5.0 2015-03-11 19:06:46 +01:00
Dan Holmsand 7568b6843e Support running site in dev mode without tests 2015-02-11 19:06:38 +01:00
Dan Holmsand 73d0478607 Simplify setup of doc site and testing
Take advantage of figwheel 0.2.3
2015-02-10 18:20:48 +01:00
Dan Holmsand 163308a392 Make site and examples work with ClojureScript 2816
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.

Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00
Dan Holmsand 7d2ca6332c Back to snapshot 2015-02-09 19:13:05 +01:00
Dan Holmsand 9db4b6df2c Version 0.5.0-alpha3 2015-02-09 19:09:20 +01:00
Dan Holmsand 7641288982 Use figwheel 0.2.3 and cleanup of project.clj 2015-02-07 09:30:20 +01:00
Dan Holmsand 5a8738d2c4 Update clojurescript to 0.0-2760 2015-02-05 11:39:09 +01:00
Dan Holmsand 81e826df03 Update clojurescript to 2755 2015-02-02 13:52:22 +01:00
Dan Holmsand dfd3e540f3 Use cljs.test 2015-01-31 23:09:42 +01:00
Dan Holmsand 99cc5ef506 Use source-map-timestamp 2015-01-30 17:09:24 +01:00
Dan Holmsand 0b97403d1b Use cljsjs/react and require clojurescript >= 2740
This means that old style :preamble inclusion is deprecated.
2015-01-29 14:49:01 +01:00
Dan Holmsand 40f3392b95 Add support for pushing to reagent-project's doc site 2014-12-10 12:57:34 +01:00
Dan Holmsand 4776799039 Version 0.5.0-alpha 2014-12-10 12:39:30 +01:00
Dan Holmsand 2c2eb9960f Use figwheel 0.1.7 2014-12-09 07:43:32 +01:00
Dan Holmsand fc2c59c3e1 Add docs for create-element, and one-argument version
And add a fix for the benefit of Light Table
2014-12-07 20:26:29 +01:00
Dan Holmsand b287b32860 Some code cleanup 2014-12-01 14:37:54 +01:00
Dan Holmsand faddb83e2b Fix extra pseudo-names 2014-11-30 12:09:23 +01:00
Dan Holmsand 17375490fe Got site generation and tests working with advanced compilation 2014-11-29 23:26:42 +01:00
Dan Holmsand bc89612a76 Fix site-generation and simplify title setting 2014-11-29 19:51:45 +01:00
Dan Holmsand bffbae231d Reorganize build, tests and doc site
Tests and doc site can now run without node, using only
"lein figwheel". Tests and site are then re-run automatically
whenever a source file changes.

The doc site is now generated into "outsite/public", and can be
copied into the "gh-pages" branch with "make build-gh-pages".

"make push-gh-pages" builds the doc site and pushes it upstream
to the gh-pages branch there.

Generation of html pages is now handled completely in
ClojureScript, loaded from "bin/gen-site.js".

Link handling is a bit simplified.
2014-11-29 18:30:24 +01:00
Dan Holmsand d188be004e Change links to point to reagent-project 2014-11-06 20:21:38 +01:00
Dan Holmsand 12d475fc62 Introduce render, render-to-string and render-to-static-markup
The new names correspond to changes in React in 0.12.0.

Both render-component and render-component-to-string are kept for
backward compatibility.

Call React.render etc to avoid deprecation warnings from React.
2014-11-06 11:34:51 +01:00
Dan Holmsand 2a52b6da8e Use clojurescript 2342
Later versions won't work with Light Table yet
2014-10-29 11:17:57 +01:00
Dan Holmsand a555484e9c Version 0.4.3 2014-10-28 16:34:26 +01:00
Dan Holmsand 0d71356183 Update to react v0.11.2 2014-10-15 18:54:44 +02:00
Dan Holmsand e1f9ae20c6 Update ClojureScript version 2014-09-14 10:56:12 +02:00
Dan Holmsand f8ca11e767 Update clojurescript and cljsbuild 2014-04-09 16:50:49 +02:00
Dan Holmsand 41a687faa7 Add import-react macro 2014-04-09 16:50:15 +02:00
Dan Holmsand 6389a3889a Add better javascript interop macros 2014-03-25 07:58:22 +01:00
Dan Holmsand 58dd46f4ae More usage of interop macros 2014-03-14 12:28:10 +01:00
Dan Holmsand 23ae1661fe Version 0.4.2 2014-03-06 13:27:49 +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 e3a67043c9 Version 0.4.1 2014-02-22 08:50:27 +01:00
Dan Holmsand b2294b5dea Update clojurescript.test and cljsbuild 2014-02-22 08:23:44 +01: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 432592955f Version 0.4.0 2014-02-21 16:31:30 +01:00
Dan Holmsand ede45fcad2 Add news item for 0.4.0 2014-02-15 17:29:37 +01:00
Dan Holmsand 4882b51b64 Move react.js to vendor directory 2014-02-11 17:10:04 +01:00
Dan Holmsand 3c2c63402e Breaking change: Allow arbitrary arguments to component functions
Previously, the first argument had to be a map, and the rest of the
arguments where passed as a vector as the second argument.

Now [my-comp foo...] generally behaves as (my-comp foo...).

Since `this` is no longer passed to component functions, add
current-component function.

Also change signatures of React callbacks, to reflect that arbitrary
arguments can be passed.

Remove set-props and replace-props for the same reason.

Add argv accessor and set-args instead.
2014-02-08 13:55:01 +01:00
Dan Holmsand e8b108ea5e Version 0.3.0 2014-02-03 14:54:01 +01:00
Dan Holmsand 581cbf84be Update to ClojureScript 2156 2014-02-03 14:40:37 +01:00
Dan Holmsand eb381f13bb Start experimenting with batched rendering with requestAnimationFrame 2014-01-27 13:37:59 +01:00
Dan Holmsand 68da921e35 Version 0.2.1 2014-01-26 09:51:36 +01:00
Dan Holmsand 23a5f80197 Fix test-running under advanced compilation
Turns out that clojurescript.test breaks unless the test
directory is included first, but only with advanced compilation
and only on the first run...
2014-01-25 17:02:58 +01:00
Dan Holmsand f3e4c7f6b0 Version 0.2.0 2014-01-24 11:40:15 +01:00
Dan Holmsand 4596244c3b Simplify project.clj 2014-01-17 16:00:42 +01:00
Dan Holmsand 44f20f94e0 Rename the cloact directory as well 2014-01-17 11:24:03 +01:00
Dan Holmsand 8e542292a2 Cloact -> Reagent 2014-01-17 11:12:11 +01:00
Dan Holmsand 69b54410aa Version 0.1.0 2014-01-10 14:03:47 +01:00
Dan Holmsand 94cdfd6a2f Move demo to separate directory 2014-01-10 11:49:36 +01:00
Dan Holmsand 7bbe917285 Breaking change: Require react.js to be included separately
This makes the project.clj a little messier, but makes it a lot
easier to use a different version or a custom build of React.
2014-01-10 11:10:09 +01:00
Dan Holmsand b93f48ba47 Clean project.clj up 2014-01-07 20:04:49 +01:00
Dan Holmsand 2c2dca026c Generate demo page 2014-01-05 11:16:01 +01:00
Dan Holmsand 30f9681d4e Update clojurescript 2014-01-02 11:17:50 +01:00