Commit Graph

1016 Commits

Author SHA1 Message Date
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 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 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 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
Juho Teperi 450a9a723f Use React 16.3.0 2018-03-30 08:33:19 +03:00
Juho Teperi 65683b6b97 Remove Karma logger hack which doesn't work with 2.0 2018-03-26 14:56:57 +03:00
Juho Teperi 4cefcdc3a6 Update package-lock files 2018-03-26 14:36:50 +03:00