Commit Graph

57 Commits

Author SHA1 Message Date
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
Iyed Bennour b9ce0ac92f
Fix some sentences and change wording 2019-10-19 17:39:28 +02: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 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
Oleg c828e22b5f
Fix documentation links 2019-08-29 10:13:39 +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
TristeFigure 96b2930363
Fix 'reaagent' typo 2019-06-04 15:20:01 +02:00
Juho Teperi 363f2d4976
Update ReactFeatures.md 2019-05-23 21:05:31 +03:00
Juho Teperi 216eff51bb
Update README.md 2019-05-23 21:01:49 +03:00
Juho Teperi b711b115be
Update ReactFeatures.md 2019-05-23 21:01:05 +03:00
Juho Teperi 2b7a58edda
Update ReactFeatures.md 2019-05-23 21:00:35 +03:00
Juho Teperi b87a9ec4df
Mention React Fragments 2019-05-23 21:00:24 +03:00
Juho Teperi 2d0ec89ad7 Add doc about controlled inputs & workarounds 2019-04-26 13:47:11 +03:00
Juho Teperi d809a5a202 Add document about React features and using them in Reagent 2019-04-26 13:30:02 +03:00
Juho Teperi 96f090b991 Markdown formatting & small fixes 2019-04-26 13:12:35 +03:00
Mohit Thatte 841f3b2ec8 Fix link to next tutorial 2019-02-22 16:18:51 +05:30
Juho Teperi 5dd12c7a22
Update README.md 2019-01-31 20:41:49 +02:00
Juho Teperi 1678887627
Update ComponentNotRerendering.md 2019-01-03 20:49:33 +02:00
Juho Teperi 375b5a209d Merge branch 'jmlsf-patch-2' 2019-01-03 20:44:57 +02:00
Juho Teperi 9f48d6d114 Merge branch 'patch-2' of https://github.com/jmlsf/reagent into jmlsf-patch-2 2019-01-03 20:44:18 +02:00
Juho Teperi 91b134aabb Remove :component-function and clean getting fn name 2018-12-31 14:38:15 +02:00
Juho Teperi d28b16e11d
Merge pull request #407 from cloojure/patch-7
minor cleanup
2018-12-09 11:09:05 +02:00
Juho Teperi e4b16ba545
Merge pull request #406 from cloojure/patch-6
small clarification
2018-12-09 11:08:52 +02:00
Juho Teperi 4560b45fe9
Merge pull request #405 from cloojure/patch-5
small rearrangement
2018-12-09 11:08:42 +02:00
Juho Teperi 5dfdd3f17a
Merge pull request #408 from cloojure/patch-8
minor cleanup
2018-12-09 11:08:33 +02:00
boxp c873aed5ea Update InteropWithReact.md for "Don’t Use HOCs Inside the render Method" 2018-12-09 04:41:25 +09:00
Jason 2cd4cf5593
Updated to include a description of Fragments.
This commit adds a brief description and examples of the usage of React Fragments via the `:<>` Hiccup form.
2018-12-07 17:16:27 -05:00
Alan Thompson 3d31b348a8
minor cleanup 2018-11-05 14:26:50 -08:00
Alan Thompson 48e8eb3b7f
minor cleanup 2018-11-05 14:14:02 -08:00
Alan Thompson aab8df9c4c
small clarification 2018-11-05 12:59:26 -08:00
Alan Thompson 225458622c
small rearrangement
Keep the order of usage the same as the order declared, so child #1 is used first & child #2 is used second.
2018-11-05 12:51:32 -08:00
Alan Thompson 7c70c6bff5
small correction 2018-11-04 20:26:49 -08:00
Alan Thompson 806873c73e
small typo 2018-10-19 15:57:41 -07:00
Juho Teperi 1ea3f3f63e
Update InteropWithReact.md 2018-10-19 13:13:52 +03:00
Matthew Jaoudi 46180032b7
Merge pull request #391 from grav/patch-1
Docs: Add special notation for id and classes
2018-09-17 11:09:38 -07:00
romankrru a1b857ba7a Fix typo 2018-09-02 21:37:52 +03:00
Tharaka Manawardhana 04fde10bc8
Update BatchingAndTiming.md 2018-09-01 15:05:15 +10:00
Jonathan Chen a63a2d704c
Docs: Fix spelling 2018-08-17 13:51:06 -07:00
Robin Nagpal 9af9c2cd38 Document nit for the make reaction example and adds another example which uses the ratom/reaction macro 2018-08-02 10:54:16 -04:00
Mikkel Gravgaard bdbacf7bb8 Add special notation for id and classes
Inspired from this reddit comment:
https://www.reddit.com/r/Clojure/comments/75d054/hiccupreagent_syntax_help/do5o0qh/
2018-08-02 11:07:25 +02:00
Robin Nagpal f84ed57d18 Merge branch 'master' into feature/docs-component-ratom-relation
# Conflicts:
#	project.clj
2018-08-01 20:17:43 -04:00
Robin Nagpal 8febef26c0 Add example of make reaction 2018-07-29 18:39:20 -04:00
Justin Lee 38e1c65763
Update CreatingReagentComponents.md 2018-07-20 15:32:51 -07:00
Justin Lee c42875c44a
Additional details for lifecycle methods.
The mapping from React lifecycle methods and Reagent lifecycle methods is really non-obvious, particularly given the way things are mapped to argv.  This is an attempt to clarify how all that works.
2018-07-20 15:18:41 -07:00
Juho Teperi 0c3ae3c0ca Add Learn Reagent free links 2018-06-27 12:47:42 +03:00
Juho Teperi 4c369531ce Add Learn Reagent video link 2018-06-27 12:02:32 +03:00
Juho Teperi 51ba6847d7 Fix doc typo, add comment 2018-06-17 22:07:57 +03:00
Juho Teperi 199533a1ea Enhance TextField example with other options 2018-06-17 21:51:53 +03:00