1241 Commits

Author SHA1 Message Date
Juho Teperi
07bfa901ac Add static contextType test 2019-12-17 02:21:05 +02:00
Juho Teperi
4c5dd6fd7b
Merge pull request #467 from plexus/class-context-type
Add support for Class.contextType
2019-12-17 02:18:51 +02:00
Arne Brasseur
e6b1e9794c Add support for Class.contextType
We already support the static contextTypes and childContextTypes from the legacy
context API. React has now added contextType to the new Context API to make it
easier to consume the context value.

https://reactjs.org/docs/context.html#classcontexttype
https://reactjs.org/blog/2018/10/23/react-v-16-6.html
2019-12-12 17:58:59 +01:00
Juho Teperi
665b7964da
Update README.md 2019-11-24 16:24:45 +02:00
Juho Teperi
afd9a739ce
Update README.md 2019-11-24 16:24:21 +02:00
Juho Teperi
e22025ef47 Update CHANGELOG.md 2019-11-19 22:01:20 +02:00
Juho Teperi
c4d9c1f5a2 Update CHANGELOG.md 2019-11-19 22:01:03 +02:00
Juho Teperi
d48f020147 Update changelog v0.9.0-rc3 2019-11-19 21:59:49 +02:00
Juho Teperi
e85e2bb056 Add shadow-cljs dev setup 2019-11-19 21:57:21 +02:00
Juho Teperi
8de886d8b1
Merge pull request #461 from reagent-project/infer-externs
Fix #460: Add type hints for extern inference
2019-11-19 21:23:30 +02:00
Juho Teperi
13a5cba2a5 Update package lock 2019-10-25 10:28:52 +03:00
Juho Teperi
a9cace4e14 Tag all objects with infer warnings 2019-10-25 10:28:52 +03:00
Juho Teperi
d663f3b53e Add shadow-cljs test configuration 2019-10-25 10:28:52 +03:00
Juho Teperi
7a974ecccd Fix #460: Add type hints for extern inference 2019-10-25 08:55:22 +03:00
Juho Teperi
7eb42190d6
Merge pull request #458 from iyedb/patch-1
Fix some sentences and change wording
2019-10-20 10:08:09 +03:00
Iyed Bennour
b9ce0ac92f
Fix some sentences and change wording 2019-10-19 17:39:28 +02:00
Juho Teperi
f16ee70a24 Update version number v0.9.0-rc2 2019-10-17 15:14:56 +03:00
Juho Teperi
88a94a44ec Release 0.9.0-rc2 2019-10-17 15:13:53 +03:00
Juho Teperi
f4361ebe0a Update changelog 2019-10-17 14:18:39 +03:00
Juho Teperi
7ddc3dad5a Fix #454, add missing gobj/set parameter 2019-10-17 14:18:15 +03:00
Juho Teperi
b994400194
Merge pull request #456 from watkinsm/creating-reagent-components-fix
Fix error in CreatingReagentComponents.md
2019-10-17 11:31:12 +03:00
Michael Watkins
4d37359e21
Fix error in CreatingReagentComponents.md
Without the [], the columns example caused compilation errors if actually used in a file.
2019-10-17 10:50:21 +03:00
Juho Teperi
e1075a410c
Update ReactFeatures.md 2019-10-09 11:06:54 +03:00
Juho Teperi
078976de26 Fix #452, Fix missing key warning where message contains fn literal 2019-10-02 15:37:56 +03:00
Juho Teperi
88fa3cc4ab Improve error boundary docs and fix tests 2019-10-02 15:37:21 +03:00
Juho Teperi
edb3d2d322 Document using getDerivedStateFromError with error boundaries 2019-10-02 12:59:00 +03:00
Juho Teperi
54834246f2 Clean unncessary type tag 2019-09-12 11:26:16 +03:00
Juho Teperi
b6a380f69e Adv build material-ui example & infer externs 2019-09-12 11:24:09 +03:00
Juho Teperi
bb8bcc414e Update material-ui example deps 2019-09-12 10:39:07 +03:00
Juho Teperi
bdc3fc063c Release 0.9.0-rc1 v0.9.0-rc1 2019-09-10 13:03:49 +03:00
Juho Teperi
470a101095 Update CHANGELOG.md 2019-09-09 15:29:16 +03:00
Juho Teperi
3b10c426c1
Merge pull request #446 from jahson/patch-1
Fix documentation links
2019-08-29 13:48:25 +03:00
Oleg
c828e22b5f
Fix documentation links 2019-08-29 10:13:39 +03:00
Juho Teperi
bd8603dce8
Merge pull request #443 from reagent-project/react-16-9
React 16.9
2019-08-19 10:04:52 +03:00
Juho Teperi
094a29b9df Fix accessing js state in optimized build 2019-08-14 10:53:05 +03:00
Juho Teperi
555ae05947 Update changelog 2019-08-14 10:52:51 +03:00
Juho Teperi
d4f14900da Improved support for new lifecycle methods & better docs
- separate getInitialState and constructor, they work differently
- getDerivedStateFromProps and Error
- getSnapshotBeforeUpdate
- Improved docstring for create-class
2019-08-14 10:38:43 +03:00
Juho Teperi
f91c97a70c Update create-class docstring example 2019-08-14 10:38:43 +03:00
Juho Teperi
35ff5d33dd Use DidMount for component mount order
WillMount lifecycle method is being deprecated. DidMount can also be
used to capture the mount order. WillMount is called first for top-most
component and last for the children. DidMount is the reverse, first for
children and last the top-most component.
2019-08-14 10:38:43 +03:00
Juho Teperi
2f9e91d697 Add support for UNSAFE_ lifecycle methods & use for impl and tests 2019-08-14 10:38:43 +03:00
Juho Teperi
2f4f9ac0eb
Merge pull request #437 from tkjone/patch-1
Enhance Docs w/ link to reagent component blog
2019-08-13 20:00:59 +02:00
Juho Teperi
5289f1306d
Merge pull request #441 from superstructor/feature/shadow-cljs
Support shadow-cljs
2019-08-13 19:49:48 +02:00
Juho Teperi
8d5540f8b1
Update README.md
Fixes #436
2019-08-13 09:37:03 +03:00
Isaac Johnston
ff9beb0375 Support shadow-cljs 2019-08-13 01:36:46 +03:00
tkjone
e42803927e
Enhance Docs w/ link to reagent component blog
`what the reagent component` is a blog post that details in a little more detail what it means when "underneath they are all just React components".
2019-07-29 18:20:51 -04:00
Juho Teperi
09eb5c5f36
Merge pull request #434 from isker/patch-1
Update react documentation links in intro.cljs
2019-07-02 21:29:18 +03:00
Juho Teperi
b2648084e7
Merge pull request #435 from isker/patch-2
Fix bad development doc link in CONTRIBUTING.md
2019-07-02 14:39:23 +03:00
Ian Kerins
829050350f
Fix bad development doc link in CONTRIBUTING.md 2019-06-30 17:57:02 -04:00
Ian Kerins
6059934dce
Update react documentation links in intro.cljs
Most importantly, the keys link stopped resolving to anything useful.
2019-06-30 17:55:03 -04:00
Juho Teperi
d9a9633aed Update package-lock.json 2019-06-14 12:49:18 +03:00