Commit Graph

189 Commits

Author SHA1 Message Date
Juho Teperi 801c32d0e0 Use fixed create-react-class Cljsjs package 2017-08-01 17:42:39 +03:00
Juho Teperi d732be32ed 0.8.0-alpha1 2017-07-31 13:36:41 +03:00
Juho Teperi 17fc0b9413 Move shim-process and fix create-react-class npm-deps version 2017-07-30 15:57:17 +03:00
Juho Teperi f99191625f Use new Cljsjs packages 2017-07-29 23:16:04 +03:00
Juho Teperi 5ab546a014 Use new Cljs and latest features 2017-07-29 16:26:15 +03:00
Juho Teperi be8f466158 Use externs from Cljsjs 2017-07-29 16:25:45 +03:00
Juho Teperi 1bf0dd3e5a Test npm-deps with advanced compilation 2017-07-12 23:00:59 +03:00
Juho Teperi 84bfd13052 Update to use JS requires 2017-07-09 23:11:49 +03:00
Juho Teperi dfb5d91b09 Merge branch 'master' into npm-deps 2017-07-09 15:46:15 +03:00
Juho Teperi a0635e0b34 Really release 0.7.0 2017-06-27 19:05:19 +03:00
Juho Teperi 3cf045dc82 Fix partial-ifn with latest Cljs
Old implementation incorrectly used variadic arity for -invoke
implementation. Variadic artities for protocols are not supported by
Cljs. The old code as worked by luck but was broken by a recent change:
https://dev.clojure.org/jira/browse/CLJS-2099

New implementation properly implements all the artities for -invoke. New
implementation creates the partial fn in a constructor function, so -invoke
code doesn't need to do that. New implementation also implements Fn.
2017-06-27 15:16:10 +03:00
Juho Teperi f750a99abd Enable advanced build 2017-06-06 19:10:41 +03:00
Juho Teperi 9d2991ed32 Test with npm deps 2017-06-06 18:33:23 +03:00
Juho Teperi da72fed4ab Update cljsbuild and figwheel 2017-05-19 20:26:53 +03:00
Juho Teperi 0b91bc2580 Merge pull request #298 from reagent-project/react-15.5
Update to React 15.5, use create-react-class
2017-05-19 20:04:23 +03:00
Juho Teperi b301af4037 Prepare for next version 2017-05-19 20:03:58 +03:00
Juho Teperi d35e5b973c Release 0.6.2 2017-05-19 19:55:03 +03:00
Juho Teperi 18cb1468a6 Update to React 15.5, use create-react-class
Fixes #292
2017-05-19 19:30:38 +03:00
Juho Teperi 44a4d50bcd Fix codox settings and build API docs together with the site 2017-03-19 22:13:25 +02:00
Juho Teperi 70adddae37 Update React to 15.4.2
Related to #289
2017-03-19 16:49:30 +02:00
Juho Teperi 2eb08fae84 Run tests using Node when running test profile cljsbuild 2017-03-11 01:19:40 +02:00
Juho Teperi 8ff70c7eb9 Separate prerender code using dom-server and browser JS code
Requiring react-dom-server with React 15.4 in browser code would increase
filesize by about 100KB. This change separates the pre-render code to
a different file which is only used by a separate Lein profile.
2017-03-11 00:37:12 +02:00
Juho Teperi 4c568256f2 Update cljsbuild and figwheel 2017-03-11 00:00:56 +02:00
dmitri.sotnikov@gmail.com 7a28e485d2 bumped up to 0.6.1 release 2017-03-09 19:22:56 -05:00
Juho Teperi 9d6359d816 Update to React 15.4.0 and drop dom-server functions from core 2016-11-17 02:11:35 +02:00
Dan Holmsand b65afde4d7 Use dom-node from reagent.dom in template
And make sure we don't try to access unmounted component's dom
node.
2016-09-16 12:14:10 +02:00
Dan Holmsand c6c1bc16ba Version 0.6.0 2016-09-14 20:51:37 +02:00
Dan Holmsand 3e3674ea85 Push snapshot 2016-07-14 10:00:07 +02:00
Rohit Aggarwal b6b0a928f3 Upgraded React to v15.2.1 2016-07-13 13:24:37 +01:00
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