Commit Graph

1154 Commits

Author SHA1 Message Date
Juho Teperi 91ea195796 Document Material-UI example 2018-06-17 21:20:28 +03:00
Juho Teperi 168dcd2014 Update React 2018-06-17 20:50:10 +03:00
Juho Teperi 2dc1b1459e Add Material-UI v1 example with working TextField 2018-06-17 20:48:35 +03:00
Juho Teperi eff27834b3 Update package-lock.json 2018-06-16 01:06:07 +03:00
Juho Teperi 94ab386c79 Update ClojureScript 2018-06-16 01:06:07 +03:00
Juho Teperi f9723aab43
Update 0.8-upgrade.md 2018-06-16 01:01:15 +03:00
Juho Teperi d9150856c0
Update 0.8-upgrade.md 2018-06-14 20:43:35 +03:00
Juho Teperi 18fab66384
Merge pull request #379 from troglotit/patch-1
Fix broken link
2018-06-06 12:06:31 +03:00
alex argunov 2c3aba9711
Fix broken link 2018-06-06 11:39:57 +03:00
Juho Teperi bc922f7319 Add proper codeblocks to docstrings 2018-05-30 21:27:45 +03:00
Juho Teperi 9695ae7add Add cljdoc.api/platforms option 2018-05-27 19:46:02 +03:00
Juho Teperi 45dc64e891
Update cljdoc.edn 2018-05-27 19:00:42 +03:00
Juho Teperi 5548ad0866 Add cljsdoc config and rename docs/ to doc/ 2018-05-27 18:48:14 +03:00
Juho Teperi d7529a8e60
Merge pull request #376 from troglotit/master
Fix non-valid docstring for `with-let`
2018-05-21 20:11:05 +03:00
Alex Argunov 66875fef0d Fix non-valid docstring 2018-05-21 19:27:27 +03:00
Juho Teperi 4aaff8f2f7 Update figwheel 2018-05-21 13:17:13 +03:00
Juho Teperi 131ba25557
Merge pull request #375 from cloojure/patch-2
Update ManagingState.md
2018-05-18 09:15:20 +03:00
Juho Teperi 8b335c050c
Merge pull request #374 from cloojure/patch-1
Update WhenDoComponentsUpdate.md
2018-05-18 09:14:40 +03:00
Alan Thompson 73b6912362
Update ManagingState.md
small typo
2018-05-17 17:37:06 -04:00
Alan Thompson 6136ec5e09
Update WhenDoComponentsUpdate.md
small typo
2018-05-17 17:18:12 -04:00
Juho Teperi 972c3e2c5d Add tag filter for test job to enable tag builds 2018-05-17 09:06:54 +03:00
Juho Teperi 33cc4e7a80 Try fixing docs/master build 2018-05-17 08:59:18 +03:00
Juho Teperi bc42a0f0e8 Add news entry 2018-05-15 19:00:09 +03:00
Juho Teperi af14a520b2 Release 0.8.1 2018-05-15 18:58:39 +03:00
Juho Teperi 86f622a9f9
Update CHANGELOG.md 2018-05-04 19:32:56 +03:00
Juho Teperi 79c5f13ab4
Merge pull request #373 from reagent-project/danielcompton-not=-throwing
Handle not= exception
2018-05-04 19:30:26 +03:00
Juho Teperi fe4f348f12 Test not= exception for dev builds only
Logging is not enabled for optimized builds
2018-05-04 19:25:34 +03:00
Juho Teperi b0c70e380e Update CHANGELOG.md 2018-05-04 19:21:05 +03:00
Juho Teperi c8cc7f996b Add test case for not= exception handling
Test case adapted from code by atroche: https://github.com/reagent-project/reagent/pull/344#issuecomment-384882866
2018-05-04 19:18:51 +03:00
Juho Teperi 5c85e01847 Merge branch 'not=-throwing' of https://github.com/danielcompton/reagent into danielcompton-not=-throwing 2018-05-04 19:07:48 +03:00
Juho Teperi 41ef62f38b
Merge pull request #372 from reagent-project/feature/context-tests
Feature/context tests
2018-05-04 19:02:43 +03:00
Juho Teperi 5892174a12 Workaround for browser-npm minified error 2018-05-04 18:58:05 +03:00
Juho Teperi 892635d265 Update CHANGELOG.md 2018-05-04 18:51:49 +03:00
Juho Teperi 60f7b4bc0c Remove :> component type assertion
Component could be plain JS object with some private React properties,
and it is not easy to check for this. Instead just allow all value for
:> but check that React will throw error from createElement.

Fixes #369
2018-05-04 18:47:45 +03:00
Juho Teperi 0c0ffc626a Context default value is for cases without provider 2018-05-04 18:14:48 +03:00
Juho Teperi cb02310b68 Add tests for new React context 2018-05-04 17:52:12 +03:00
Juho Teperi f5cb24cafc Update React deps 2018-05-04 17:51:51 +03:00
Juho Teperi b5e60e8c52
Merge pull request #368 from reagent-project/class-fixes
Class fixes
2018-05-04 16:18:22 +03:00
Juho Teperi e1019a1c9c Check if value is named before calling name 2018-05-04 16:10:41 +03:00
Juho Teperi d592335612 Update CHANGELOG.md 2018-04-27 23:21:32 +03:00
Juho Teperi 606b321d2f Fix keywords and symbols in :class
Fixes #367
2018-04-27 23:20:52 +03:00
Juho Teperi 4a8ac5cd83 Fix problem with custom HTML element property name code
Custom HTML element property name code accidentally modified cache
object for normal HTML elements, which can cause Reagent to lose correct
mappings for properties like className, htmlFor and charSet.
2018-04-27 23:17:25 +03:00
Juho Teperi fe2f82d032 Switch back to :cljsbuild :builds vector, for figwheel
Figwheel will default to first dev build.
2018-04-27 22:21:22 +03:00
Juho Teperi 1b1b124d8c
Merge pull request #366 from stask/master
typo in cljs version number
2018-04-23 12:30:38 +03:00
stask 9c5d17c127
typo in cljs version number 2018-04-23 11:09:59 +03:00
Juho Teperi 9c9825c289 Refactor template code
- Use two types to store native and hiccup data
- Rename comp to component so cljs.core/comp is not shadowd
- Use className instead of class property
- Rename name property to tag
- Use static properties for React key

Use of static properties in this and other commits shrinks test-suite
output size by 2-3kB.
2018-04-19 19:45:13 +03:00
Juho Teperi 7482b2821e Fix cached-custom-prop-name 2018-04-19 19:44:29 +03:00
Juho Teperi afd422615b Style fix 2018-04-19 19:38:37 +03:00
Juho Teperi 2e11ccc85b Use map to apply as-element in expand-seq 2018-04-19 19:38:24 +03:00
Juho Teperi 633122e8ee Fix cljsRatom 2018-04-19 19:37:32 +03:00