1205 Commits

Author SHA1 Message Date
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
Juho Teperi
f1fe60d7eb Update react 2019-06-14 12:49:09 +03:00
Juho Teperi
8066b09f4f Fix spacing props for mui 4 2019-06-14 00:02:32 +03:00
Juho Teperi
7632e94489
Merge pull request #432 from 2knu/material-ui-example
Fix material-ui example for version 4.1.0-0
2019-06-13 23:57:15 +03:00
Jean-Pierre
f4981920c7 Fix material-ui example for version 4.1.0 2019-06-13 11:02:34 +02:00
Juho Teperi
bc687e4882
Merge pull request #431 from TristeFigure/patch-1
Fix 'reaagent' typo
2019-06-05 13:14:32 +03: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
509dc90e08
Update README.md 2019-05-08 17:17:34 +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
Juho Teperi
901607c45f
Merge pull request #427 from jtiala/patch-1
Fixed a typo in README.md
2019-03-03 15:51:37 +02:00
Joonas Tiala
1c644cd010
Fixed a typo in README.md 2019-03-03 14:36:10 +02:00
Juho Teperi
c787d2a851 Drop :export metadata from fource-update-all function
There doesn't seem to be any reason to export this function, and nothing
else is exported. Exporting function also prevents DCE, though in this
case this function probably only adds few bytes as the code include
is anyway used by Reagent applications.
2019-03-02 23:27:45 +02:00
Juho Teperi
c92dbd38b3
Merge pull request #425 from pastafari/fix-broken-link
Fix link to next tutorial
2019-02-23 00:25:04 +02:00
Mohit Thatte
841f3b2ec8 Fix link to next tutorial 2019-02-22 16:18:51 +05:30
Juho Teperi
72c95257c1 Update example deps 2019-02-07 20:43:42 +02:00
Juho Teperi
05c579c377 Update package-lock.json 2019-02-07 20:43:42 +02:00
Juho Teperi
e673b1fc0a Update React, Clojure and ClojureScript 2019-02-07 20:43:42 +02:00
Juho Teperi
5dd12c7a22
Update README.md 2019-01-31 20:41:49 +02:00
Juho Teperi
3c30e0a4ee
Remove react-with-addons mentition 2019-01-31 20:39:21 +02:00
Juho Teperi
be26c9eeaf
Add Learn Re-frame link 2019-01-31 20:31:23 +02:00
Juho Teperi
5c7048fe3c Update CHANGELOG 2019-01-10 21:05:51 +02:00
Juho Teperi
ddd7f9a070 Fix infer externs problem in with-let macro, fixes #420 2019-01-10 21:04:27 +02:00
Juho Teperi
d4038cb911 Deprecate reagent.interop ns, fixes #419 2019-01-04 11:46:48 +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
05cfbfcfab Remove old require from demo site code 2018-12-31 15:46:34 +02:00
Juho Teperi
0391b0756d Update CHANGELOG.md 2018-12-31 15:36:48 +02:00
Juho Teperi
4ec10ac146 Bump version to 0.9.0-SNAPSHOT 2018-12-31 15:35:49 +02:00
Juho Teperi
88e9833be9
Merge pull request #325 from reagent-project/fix-array-ops
Fix aget/aset use with objects
2018-12-31 15:34:41 +02:00