Commit Graph

378 Commits

Author SHA1 Message Date
Dan Holmsand 9bfd1a250b Update clojurescript 2015-06-02 11:02:46 +02:00
Dan Holmsand 2d6e74d477 Use :require-macros throughout 2015-05-31 11:57:16 +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
Dan Holmsand cdd3c851a0 Fix cursor bug
Cursor wasn't updated when changing both the cursor and an
underlying atom at once.
2015-05-25 21:31:43 +02:00
Dan Holmsand 60d99c44fe Make site generation work with new cljs 2015-03-22 12:14:24 +01: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 e716850154 Fix bmi calculator strangeness in intro 2015-03-11 18:55:46 +01:00
Dan Holmsand 6009908d5d Add some docs for force-update-all 2015-03-11 17:51:54 +01:00
Dan Holmsand d4a595e577 Describe new features since first alpha in news050.cljs 2015-03-11 17:51:35 +01:00
Dan Holmsand 60c074b633 Describe cljsjs/react dependency in README 2015-03-11 17:49:21 +01:00
Dan Holmsand f673f32f38 Update changelog a bit 2015-03-11 17:48:13 +01:00
Dan Holmsand 7568b6843e Support running site in dev mode without tests 2015-02-11 19:06:38 +01:00
Dan Holmsand 19a384443f Make -deref in Reaction a little clearer 2015-02-11 06:47:11 +01:00
Dan Holmsand 526dfa61ea Make swap! on non-active Reaction correct 2015-02-11 06:38:57 +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 4d559ef862 Move syntax highlighting to ClojureScript, to reduce code size a bit 2015-02-09 21:02:31 +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 986be5c387 Use a README instead .keep for gh-pages 2015-02-09 15:02:16 +01:00
Dan Holmsand 212f69e180 Make sure gen-site exists, even when intervals are running 2015-02-09 14:14:12 +01:00
Dan Holmsand 14ca20bc4b Example css updated 2015-02-09 13:20:05 +01:00
Dan Holmsand 8feaccca88 Add IReactiveAtom type, and use in cursor asserts 2015-02-09 13:19:12 +01:00
Dan Holmsand 86f9298c4e Make geometry example use figwheel 2015-02-09 12:55:33 +01:00
Dan Holmsand 73281cdd16 Make todomvc example use figwheel 2015-02-09 12:29:48 +01:00
Dan Holmsand 3e9b42a92b Add README to example 2015-02-09 12:07:46 +01:00
Dan Holmsand 0b1c7ffc33 Make simple-example use figwheel 2015-02-09 09:43:43 +01:00
Dan Holmsand a29e0c75c7 Make sure reactify-component always re-renders
It might get mutable data from js
2015-02-08 13:20:40 +01:00
Dan Holmsand e6c8639277 Try harder to find meaningful name for components
Thereby hopefully improving warning messages a bit.
2015-02-08 12:56:56 +01:00
Dan Holmsand a1e4de4d68 Make tests only run once when figwheel reloads 2015-02-08 12:26:39 +01:00
Dan Holmsand a2b5acb68f Make warning for missing keys print data
That will hopefully make finding the offending code easier
to find.
2015-02-08 12:24:52 +01:00
Dan Holmsand 8b5905c9e1 Add reactify-component: adapts Reagent component for use in JSX 2015-02-08 00:04:45 +01:00
Dan Holmsand b574d8cc5a Add state-atom (again) 2015-02-07 09:39:33 +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 4eee0f4d06 Add more stuff to changelog 2015-02-04 23:13:15 +01:00
Dan Holmsand ac3ed8dbe0 Mention :reagent-render in docs, and use it in template.cljs 2015-02-04 22:55:55 +01:00
Dan Holmsand 721e3bab00 Revert adding of state-atom
There may be a better api - and it's not very important anyway.
2015-02-04 22:50:22 +01:00
Dan Holmsand 017fa9c106 Rename :component-function to :reagent-render
But keep :component-function as alias for the time being
2015-02-04 22:45:39 +01:00
Dan Holmsand c862792624 Revert experiment with lazy reaction
Needs more surgery to get this to work properly
2015-02-04 22:14:04 +01:00
Dan Holmsand d39656624d Make Reaction and cursors lazy
Their value will now only be calculated as needed (i.e when deref
is called), which should make debugging them much easier.

This also makes updating the atom they are relying on cheaper.
2015-02-04 16:03:35 +01:00
Dan Holmsand 9260d9b74b More docs for cursor 2015-02-02 22:14:57 +01:00
Dan Holmsand 600d6bbb59 Add some docs for adapt-react-class 2015-02-02 17:47:01 +01:00
Dan Holmsand 15acc0d6ff Added adapt-react-class 2015-02-02 15:19:43 +01:00
Dan Holmsand 81e826df03 Update clojurescript to 2755 2015-02-02 13:52:22 +01:00
Dan Holmsand 7df2941c7d Better error reporting
Warnings are now printed using console.warn. The name of the current
component is included in more cases.

Also warn every time an atom is derefed in a lazy seq, and not just
the first.
2015-02-02 13:41:29 +01:00
Dan Holmsand 5eca79a433 Try warn when passing native React classes to hiccup form 2015-02-01 21:43:41 +01:00