Commit Graph

167 Commits

Author SHA1 Message Date
Juho Teperi 28aaf6e467
Merge pull request #486 from reagent-project/bundle-test
Bundle test
2020-04-16 23:23:37 +03:00
Juho Teperi 58583db56d Add tests using Cljs bundle output with Karma
New :bundle target will generate JS tooling compatible output, which can
be processed with Webpack and passed to Karma.
2020-04-16 22:45:51 +03:00
Matti Hänninen 97697be14b Fix BMI example in introduction
Used to have a glitch when the user first dragged the BMI control and
then the weight control.
2020-04-16 13:50:15 +03:00
Juho Teperi 712d2b5ddb Link to changelog from news 2020-04-08 14:46:10 +03:00
Juho Teperi ff4c9a6031 Remove dom functions from core ns 2020-02-05 23:15:05 +02:00
Juho Teperi ecbbc60d95 Add Kondo config and lint code 2020-02-05 22:48:54 +02:00
Ian Kerins 6059934dce
Update react documentation links in intro.cljs
Most importantly, the keys link stopped resolving to anything useful.
2019-06-30 17:55:03 -04:00
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