1170 Commits

Author SHA1 Message Date
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
Juho Teperi
14256cd487 Fix componentQueue 2018-04-19 19:37:07 +03:00
Juho Teperi
239f03b3da Use static property for reagReactionCache 2018-04-19 19:36:14 +03:00
Juho Teperi
f2622f1544 Use unchecked-aget/aset in with-let macro 2018-04-19 19:35:40 +03:00
Juho Teperi
b8f80f56f9 Use checked-arrays for all test builds 2018-04-19 19:35:06 +03:00
Juho Teperi
a2eed46ea1 Fixes 2018-04-19 17:26:24 +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 v0.8.0 2018-04-19 16:59:25 +03:00
Juho Teperi
0be1551b8c Move cljs dependency to dev profile
Direct dependency to ClojureScript can add ClojureScript to uberjar,
when Reagent is used by a library (transitively, on Lein uberjar
profile) or application.
2018-04-17 20:59:20 +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
a4f239104c Fix 2018-04-16 20:58:19 +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
1ebe5e978b Fix tagged doc update trigger 2018-04-16 20:04:57 +03:00
Juho Teperi
63b7430338 Use cache and install npm deps on circle update-sit job 2018-04-16 20:04:35 +03:00
Juho Teperi
e729a53789 Fix circle.yml 2018-04-16 19:57:08 +03:00
Juho Teperi
54f5e5842f Deploy site and docs from CircleCI
- Add missing Circle workflow
- Automatically deploy tagged docs
- Deploy prod-npm build for site, should work now (latest
Closure-compiler fixes sliders with React)
2018-04-16 19:52:47 +03:00
Mike Thompson
7bacb01f78
Update README.md 2018-04-12 15:27:09 +10:00
Juho Teperi
27a4335913 Release 0.8-rc1 v0.8.0-rc1 2018-04-11 20:28:39 +03:00
Juho Teperi
2588041c5a
Merge pull request #363 from reagent-project/remove-synthetic-input
Remove synthetic-input options
2018-04-11 20:21:15 +03:00
Juho Teperi
20ffbe9c68 Remove synthetic-input options
This didn't work for all cases. I'll work on better solution for next
release.

https://github.com/reagent-project/reagent/pull/351
2018-04-11 20:13:39 +03:00
Juho Teperi
0f21312e78
Update 0.8-upgrade.md 2018-04-04 20:41:03 +03:00
Juho Teperi
a805717b9f
Merge pull request #360 from reagent-project/browser-npm-prod-fix
Use latest Closure for React fix
2018-04-04 19:12:30 +03:00
Juho Teperi
35a04a6125 Use latest Closure for React fix 2018-04-04 19:11:58 +03:00
Juho Teperi
d8b41f8208
Merge pull request #359 from reagent-project/react-16-try2
React 16 try2
2018-04-03 12:10:47 +03:00
Juho Teperi
0075782ae1 Update development notes 2018-04-03 12:05:43 +03:00
Juho Teperi
04fdcb248e Add note about module processing and externs 2018-04-03 12:03:26 +03:00
Juho Teperi
b5a04f7d1a Update Cljsjs for extern fix
New externs fix isTextInputElement.supportedInputTypes function so range
input works with optimizations.

Fixes #321
2018-04-03 11:56:49 +03:00
Juho Teperi
8f6444586c Update CHANGELOG 2018-04-03 11:04:46 +03:00
Juho Teperi
601da7cc1d Merge branch 'test-browser-node-prod' into react-16-try2 2018-04-03 11:00:46 +03:00
Juho Teperi
12d590ff15 Document React 16 problems with npm-deps 2018-04-03 10:53:05 +03:00
Juho Teperi
efe84857b9 Fix fragment key test case 2018-04-03 10:42:25 +03:00
Juho Teperi
e095696bcc Use React 16 and simplify test setup 2018-04-03 10:33:01 +03:00
Juho Teperi
26de1c487b Bump version 2018-04-03 09:49:08 +03:00
Juho Teperi
54d9b8eb78
Merge pull request #352 from reagent-project/hiccup-fragment
Implement :<> hiccup tag for fragments
2018-04-03 09:42:02 +03:00