Commit Graph

1341 Commits

Author SHA1 Message Date
Juho Teperi ac73f480eb Fix fragment-element opts 2020-04-19 18:02:14 +03:00
Juho Teperi edc318749c Move input workaround to separate ns 2020-04-19 18:02:14 +03:00
Juho Teperi 885664b04d Move js-val? to utils ns 2020-04-19 18:02:14 +03:00
Juho Teperi 035dd8bb50 Move shallow-obj-to-map to utils ns 2020-04-19 18:02:14 +03:00
Juho Teperi 64e2a584ec Move react key functions to utils ns 2020-04-19 18:02:13 +03:00
Juho Teperi 22a2841b45 Make functional Reagent components optional, using new opts parameter
Render/as-element and other functions now take additional parameter for
setting options.

Currently only option is :functional-reag-elements?,
if set to true, by default Reagent components are
created as Functions, which behave similarly to Classes,
but allow using Hooks.
2020-04-19 17:59:52 +03:00
Juho Teperi 63e118d2a0 Use React.memo to check if component should render 2020-04-19 17:56:01 +03:00
Juho Teperi 08da5dd87c Fix optimized builds 2020-04-19 17:56:01 +03:00
Juho Teperi 5bc6a3b7f3 Enable figwheel nrepl server 2020-04-19 17:56:01 +03:00
Juho Teperi 6b68815f24 Ensure render sees the up-to-date props 2020-04-19 17:56:01 +03:00
Juho Teperi daab43d6e2 Reorganize function-render code, set displayName for fns 2020-04-19 17:56:01 +03:00
Juho Teperi 92bcf84504 Use regex to check error component names
Function names use $ instead of ., so allow both in regexes
2020-04-19 17:56:01 +03:00
Juho Teperi eaf8a48900 Comment out test failures due to shouldComponentUpdate differences 2020-04-19 17:56:01 +03:00
Juho Teperi ed968ae95f Setup cljs repl and try adding some performance benchmarks 2020-04-19 17:56:01 +03:00
Juho Teperi bbfb28b127 Restore old test code 2020-04-19 17:56:01 +03:00
Juho Teperi f0423a51f0 Remove temporary :< tag 2020-04-19 17:56:01 +03:00
Juho Teperi 678e8adf7b Handle form-2 and form-3 components 2020-04-19 17:56:01 +03:00
Juho Teperi 9042db423f Test creating functional components 2020-04-19 17:56:01 +03:00
Juho Teperi e2f3717d93 React key with :> works now 2020-04-19 15:19:30 +03:00
Juho Teperi 9dfe18e918 Add react-transition-group example
Closes #311
2020-04-19 15:18:01 +03:00
Juho Teperi 66ff6ccb82 Fix #438, fix raf call in Firefox extenstion context
RAF call needs to have Window object bound as `this`.
2020-04-19 14:51:12 +03:00
Juho Teperi 4526f4d1f9 Implement #439, make RAtom print output readable 2020-04-17 00:37:47 +03:00
Juho Teperi 68531569c0 Fix #399, fix React key check with :> shortcut 2020-04-16 23:46:17 +03:00
Juho Teperi 3ee1d65aa5 Fix #433, support className property with keyword class shortcut 2020-04-16 23:36:02 +03:00
Juho Teperi 28aaf6e467
Merge pull request #486 from reagent-project/bundle-test
Bundle test
2020-04-16 23:23:37 +03:00
Juho Teperi a235697186 Update package-lock 2020-04-16 22:46:32 +03:00
Juho Teperi 58583db56d Add tests using Cljs bundle output with Karma
New :bundle target will generate JS tooling compatible output, which can
be processed with Webpack and passed to Karma.
2020-04-16 22:45:51 +03:00
Juho Teperi f0fa602fca
Merge pull request #488 from lucywang000/update-docs-about-portal
improve docs about using portal
2020-04-16 21:23:17 +03:00
Juho Teperi 25b44e8016
Merge pull request #489 from mjhanninen/fix-bmi-example
Fix the BMI example in the introduction
2020-04-16 14:57:28 +03:00
Matti Hänninen 97697be14b Fix BMI example in introduction
Used to have a glitch when the user first dragged the BMI control and
then the weight control.
2020-04-16 13:50:15 +03:00
Lucy Wang c76bdb142b improve docs about using portal 2020-04-16 01:23:22 +08:00
Juho Teperi 9165f0b724
Update ControlledInputs.md 2020-04-15 09:56:35 +03:00
Juho Teperi 1e11774189
Update ControlledInputs.md 2020-04-15 09:55:56 +03:00
Juho Teperi 712d2b5ddb Link to changelog from news 2020-04-08 14:46:10 +03:00
Juho Teperi f1b8590f66
Update ReactFeatures.md 2020-03-29 11:42:33 +03:00
Juho Teperi 2e464e48ff Fix link 2020-03-28 14:07:59 +02:00
Juho Teperi c54d6891cf Add React-context example project 2020-03-28 14:07:24 +02:00
Juho Teperi 83c0cdd698 Use global-exports for react-sortable-hoc example 2020-03-28 13:59:11 +02:00
Juho Teperi ad5475ca1f Update examples 2020-03-28 13:53:22 +02:00
Juho Teperi b2778da841
Update README.md 2020-03-24 11:42:15 +02:00
Juho Teperi b210bebdb7
Fix clojars badge url 2020-03-24 11:20:43 +02:00
Juho Teperi 0644eafe59 Tune material-ui comments 2020-03-22 19:05:46 +02:00
Juho Teperi 019df6bbd1 Add material-ui autocomplete example 2020-03-22 18:59:48 +02:00
Juho Teperi df8ca5917f
Merge pull request #484 from reagent-project/feature/codecov
Improve test coverage
2020-03-22 16:56:08 +02:00
Juho Teperi e338de9b84 Improve test coverage 2020-03-22 16:25:32 +02:00
Juho Teperi 0e1e4179ec
Merge pull request #483 from reagent-project/feature/codecov
Feature/codecov
2020-03-22 15:46:15 +02:00
Juho Teperi 09c01ce599 Update README 2020-03-22 15:44:09 +02:00
Juho Teperi 2f0d56d0cf Update package-lock 2020-03-22 15:22:20 +02:00
Juho Teperi 666a80fd02 Enable test coverage reports 2020-03-22 15:22:11 +02:00
Juho Teperi 7bbfd47f43 Update CHANGELOG.md 2020-03-22 13:12:40 +02:00