Commit Graph

294 Commits

Author SHA1 Message Date
Dan Holmsand f905c8be9d Update versions in examples 2014-12-10 12:51:14 +01:00
Dan Holmsand 4776799039 Version 0.5.0-alpha 2014-12-10 12:39:30 +01:00
Dan Holmsand 8c2dfafcec Merge https://github.com/holmsand/reagent 2014-12-10 12:34:04 +01:00
Dan Holmsand 716789c245 Get version from project file 2014-12-10 12:21:29 +01:00
Dan Holmsand f4ec73e77d Add news item about new version 2014-12-10 12:02:47 +01:00
Dan Holmsand 54a4e28245 Remove four argument version of render for now 2014-12-09 13:29:26 +01:00
Dan Holmsand 0e8ca42a37 Add test for force-update-all 2014-12-09 12:58:30 +01:00
Dan Holmsand 2c2eb9960f Use figwheel 0.1.7 2014-12-09 07:43:32 +01:00
Dan Holmsand 197aca78d4 Misc cleanup 2014-12-08 13:37:25 +01:00
Dan Holmsand 59b2e6d6ee Cleanup and fix for ClojureScript 0.0-2411 2014-12-07 21:07: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 6e8a5178b3 Use new macro-based syntax highlighting 2014-12-07 19:26:20 +01:00
Dan Holmsand 7160a9f579 Experiment with syntax generation in macro 2014-12-07 16:38:56 +01:00
Dan Holmsand 1a2417a14b Fix tests when macros change 2014-12-07 16:38:28 +01:00
Dan Holmsand ed06312eaf Make render force already mounted components to update by default
This should make using Reagent with figwheel more convenient (no need
for force-update-all). Add a fourth argument to render that controls
the updating.
2014-12-07 10:00:47 +01:00
Dan Holmsand 0215a4a093 Make browser tests clean up after themselves properly 2014-12-03 16:14:07 +01:00
Dan Holmsand e193518292 Add a few more tests for wrap 2014-12-03 16:07:58 +01:00
Dan Holmsand 7a035387b7 Add a few tests for wrap 2014-12-03 14:50:03 +01:00
Dan Holmsand a39e009108 Add stuff to changelog 2014-12-02 21:39:38 +01:00
Dmitri Sotnikov 7c35cb1fed added documentation on creating template projects 2014-12-02 11:22:13 -05:00
Dan Holmsand f673481c88 Support meta keys in native elements 2014-12-02 15:31:11 +01:00
Dan Holmsand 3c6d6cec1d Remove helper for shouldComponentUpdate 2014-12-02 12:30:21 +01:00
Dan Holmsand a66de12cf5 Some refactoring 2014-12-02 11:58:24 +01:00
Dan Holmsand 0a8bc67d5f Introduce create-element 2014-12-02 11:44:42 +01:00
Dan Holmsand a48e70c4de as-component -> as-element 2014-12-02 11:17:07 +01:00
Dan Holmsand b287b32860 Some code cleanup 2014-12-01 14:37:54 +01:00
Dan Holmsand c030cf7266 Fix mount ordering to be more robust 2014-12-01 14:27:51 +01:00
Dan Holmsand 25adadba66 Merge branch 'master' into nowrapper 2014-11-30 16:43:50 +01:00
Dan Holmsand 4e62b415ba Get rid of old wrapping code
Inputs are now backed by a proper Reagent component. The same class
is now shared by every input instance.
2014-11-30 16:41:00 +01:00
Dan Holmsand 2cfd616dd2 Tweak setup 2014-11-30 16:40:22 +01:00
Dan Holmsand c5497ea02e Remove obsolete code path 2014-11-30 14:25:26 +01:00
Dan Holmsand faddb83e2b Fix extra pseudo-names 2014-11-30 12:09:23 +01:00
Dan Holmsand cd44e87519 Add todo 2014-11-30 11:46:36 +01:00
Dan Holmsand 5fb9db3b14 Experiment with skipping wrappers for native React components
This should make initial rendering a bit faster, as well as cases
where many components change simultaneously.

It should also lead to slightly less memory use.

The drawback is that native components no longer use
shouldComponentUpdate, and so requires more conversion from cljs
to js values – but this is now quite fast anyway.
2014-11-30 11:29:36 +01:00
Dan Holmsand 9bfbbc1ae2 Make gh-pages pushing more explicit 2014-11-30 10:13:19 +01:00
Dan Holmsand a6cb21105a Tweak site-building
Allow files in outsite to be opened directly
2014-11-30 09:40:12 +01:00
Dan Holmsand 73f5ee53dc Add a build note to index.html 2014-11-29 23:54:17 +01:00
Dan Holmsand 723a1aa379 Really make advanced mode tests work 2014-11-29 23:47:57 +01:00
Dan Holmsand 4c8f08c646 Make sure index.html is in git 2014-11-29 23:34:59 +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
Sean Corfield 889de6bc22 Added a link to the mailing list 2014-11-28 16:09:14 -08:00
Sean Corfield 016a9795fe Update holmsand.github.io references
Per #72
2014-11-28 08:51:22 -08:00
Dan Holmsand 3bf98230ca Merge branch 'morecursor' 2014-11-23 21:09:56 +01:00
Dan Holmsand 67a88fce24 Generalize the experimental js importing 2014-11-23 12:02:14 +01:00
Dan Holmsand 36c48c0ea2 Simplify mount-count 2014-11-22 18:10:27 +01:00
Dan Holmsand 7d79637de6 Reuse render function between components 2014-11-22 17:05:43 +01:00
Dan Holmsand e4617bcaf6 Make workaround for circular dependency less cumbersome 2014-11-22 16:39:41 +01:00
Dan Holmsand b869f13a4e Merge branch 'mountorder' 2014-11-22 15:58:26 +01:00