Commit Graph

160 Commits

Author SHA1 Message Date
Juho Teperi 16d8021e89
Merge branch 'master' into fix-array-ops 2018-12-31 13:07:05 +02:00
Avi Flax d437719045
Tweak to copy in demo/intro
We should always _care_ about performance; hopefully we don’t have to _think_ about it too often ;)
2018-06-21 16:19:31 -04:00
Juho Teperi bc42a0f0e8 Add news entry 2018-05-15 19:00:09 +03:00
Juho Teperi b7304d0f3f Fix aget/aset use with objects
This removes the interop macros which used aget/aset and prevented
Closure naming mangling, now normal property and method access is used
where possible, and goog.object used when using variable keys. Further
testing is needed to ensure this works correctly with Closure, as there
are some properties that are used with goog.object in one place, and as
property in another.

Fixes #324
2018-04-19 17:25:37 +03:00
Juho Teperi 1c5d361070
Merge pull request #365 from reagent-project/cljs-options
Fix and optimize Cljs compiler options
2018-04-19 17:05:50 +03:00
Juho Teperi 2f954302f6 Release 0.8.0 2018-04-19 16:59:25 +03:00
Juho Teperi 6e5356d8b9 Fix and optimize Cljs compiler options
- Enable aot-cache for all builds
- :source-map true is default, no need to set here
- Disable figwheel config validation for now
- Move prerender namespace, which uses built-in Node modules, to
separate folder to ensure this is not part of other builds.
- Use single source-path folder for Cljs to ensure less files are
compiled.
2018-04-17 20:24:41 +03:00
Juho Teperi ad96d3cbbd Ensure prerender code is not evaluated during tests 2018-04-16 20:50:32 +03:00
Juho Teperi fddedf4143 Use md5 hash for demo site cache busting instead of build timestamp 2018-04-16 20:41:41 +03:00
Juho Teperi 19b77dccf0 Add dates to news posts 2017-11-28 19:16:26 +02:00
Juho Teperi 2a54e5136e Use .. to access event props in demo bmi calc 2017-11-02 21:41:56 +02:00
Juho Teperi ac32060655 Call init! in the prod build 2017-10-21 20:17:29 +03:00
Juho Teperi 52b0b2eba4 Fix demo site build script, stop usinn lein profile merging 2017-10-18 14:25:41 +03:00
Juho Teperi b81af9308a Fix doo & test result component on demo app 2017-10-13 16:00:04 +03:00
Juho Teperi 4f69a37fcc Fix tests on Chrome, don't load demo app on test runner 2017-09-29 11:02:34 +03:00
Juho Teperi fd93b09c96 Rework test runner and prerendering
Use doo for tests.
2017-09-29 01:34:06 +03:00
Juho Teperi d1792d8273 Add clojure.java.io require back to reagentdemo.syntax
Src-of macro requires io namespace. This namespace is only used when
building Reagent webpage so this should not prevent using Reagent as
library with self-host.
2017-05-19 20:25:53 +03:00
Juho Teperi bc677736ed Merge pull request #283 from viebel/master
Make reagent self-host compatible
2017-05-19 20:07:59 +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 ea5009c9ed Add news entry about 0.6.1 2017-03-11 00:37:30 +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 8630ab5239 Fix #278: Replace mentions of render-component with render 2017-03-10 17:19:19 +02:00
Matthew Jaoudi 34ca28dff7 Merge pull request #273 from danielcompton/add-api-link
Add link to API documentation
2016-12-06 11:38:08 -08:00
Juho Teperi 560f99174a Fix dom-server calls in demo and text code 2016-11-17 02:58:44 +02:00
Daniel Compton f03598b133
Add link to API documentation
Fixes #191
2016-11-08 14:33:23 +13:00
Yehonathan Sharvit 7603ab8a8c remove java.io 2016-10-30 01:30:37 +03:00
Dan Holmsand 7f4137b59d Prepare for 0.6.0 2016-09-14 20:45:59 +02:00
Dan Holmsand 8d622b120b Add news about 0.6.0-rc 2016-06-09 15:51:04 +02:00
Dan Holmsand d3ee4a7f8b Update figwheel and simplify doc app configuration 2016-05-27 12:55:13 +02:00
Dan Holmsand fe749392d7 Tweak history handling in demo 2016-05-02 12:44:02 +02:00
Dan Holmsand 7943a0018b Make demo site reload a little faster 2016-05-01 13:45:37 +02:00
Dan Holmsand e31c72670c Use emit instead of dispatch
Shorter, and possibly less confusing.
2016-04-30 14:55:04 +02:00
Dan Holmsand 3ec786c64b Fix demo in node 2015-12-21 09:23:00 +01:00
Dan Holmsand 2e568c9876 Fix language 2015-12-21 09:10:39 +01:00
Dan Holmsand a8be359882 More explanations in news 2015-12-21 08:14:41 +01:00
Dan Holmsand 4dd57c0dfb Doc for with-let 2015-12-21 07:43:21 +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 cdff064b85 Add section on new React 2015-12-09 10:12:21 +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
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 f280e979c8 Add more convenient time macro 2015-10-15 13:19:36 +02:00
Dan Holmsand 2d4500b61f Tweak demo site styling a little 2015-10-14 09:51:51 +02:00
Dan Holmsand 78fffe263e Make next-tick more predictable, add after-render 2015-10-11 22:08:42 +02:00