Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add currying friendly hooks #349

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2b163dc
add some hooks stuff
rickyvetter Feb 7, 2019
55aa3ae
element binding
rickyvetter Feb 7, 2019
d7351f6
upgrade react
rickyvetter Feb 7, 2019
cd30ee0
move ppx into this repo
rickyvetter Feb 11, 2019
95339e9
cleanup header
rickyvetter Feb 8, 2019
47cc9aa
better esy isolation
rickyvetter Feb 11, 2019
548bcc7
better fragment handling
rickyvetter Feb 11, 2019
db98c7a
Add React.string and React.array. (#332)
cknitt Feb 12, 2019
339d57a
Added React.memo. (#333)
cknitt Feb 14, 2019
5dcb656
better names without config
rickyvetter Feb 14, 2019
ea27739
Merge branch 'hooks' of github.com:reasonml/reason-react into hooks
rickyvetter Feb 14, 2019
44607a9
Merge branch 'master' of github.com:reasonml/reason-react into hooks
rickyvetter Feb 14, 2019
f093c31
displayName tweaks
rickyvetter Feb 14, 2019
86f87e1
sync over the function wraping change
rickyvetter Feb 14, 2019
8d79227
resolve ref thing in the same way we resolve all of our other curryin…
rickyvetter Feb 14, 2019
e424414
name components correctly in nested modules
rickyvetter Feb 15, 2019
8bad9a3
Revert "resolve ref thing in the same way we resolve all of our other…
rickyvetter Feb 15, 2019
396ab86
allow forwardRef and props and options without the record syntax
rickyvetter Feb 15, 2019
5ee75d5
Add React.Context.Provider.
cknitt Feb 16, 2019
a933d8c
useUrl hook for router
cknitt Feb 17, 2019
9ed45b8
Add React.null. (#337)
cknitt Feb 18, 2019
134451a
Loosen react dependency. (#335)
cknitt Feb 18, 2019
4b3b228
useLayoutEffect0
cknitt Feb 18, 2019
9758d49
Use bs.get/bs.set for ref. (#331)
cknitt Feb 19, 2019
0591ee2
useUrl hook for router (#338)
rickyvetter Feb 19, 2019
abda57e
Merge pull request #336 from cknitt/context-provider
rickyvetter Feb 19, 2019
e2e39be
Extract router and useRecordApi into separate modules.
cknitt Feb 19, 2019
98e0a99
Merge pull request #339 from cknitt/split-off-router
rickyvetter Feb 24, 2019
1a925f2
sync in some changes from fb
rickyvetter Mar 5, 2019
8ff9276
build
rickyvetter Mar 5, 2019
de17dcb
Fix type of Context.provider.
cknitt Mar 6, 2019
67fe98f
Merge pull request #343 from cknitt/feature/fix-context-provider
rickyvetter Mar 6, 2019
e859c2e
fragment, uncurry, forwardRef
rickyvetter Mar 6, 2019
3d911d1
Fix useCallback: intput -> input
cknitt Mar 7, 2019
6cde3d5
Merge pull request #344 from cknitt/fix-intput
rickyvetter Mar 7, 2019
3def831
Add currying friendly hooks
bordoley Mar 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -7,6 +7,9 @@ finalOutput/*.js
*.log
.bsb.lock
/src/*.js
_esy
_build
*.install

# Editor
/.idea/
Binary file added _build/default/jsx_ppx/reactjs_jsx_ppx_v3.exe
Binary file not shown.
1 change: 1 addition & 0 deletions dune-project
@@ -0,0 +1 @@
(lang dune 1.6)
31 changes: 31 additions & 0 deletions esy.json
@@ -0,0 +1,31 @@
{
"name": "reason-react",
"version": "0.5.3",
"description": "React bindings for Reason",
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/reasonml/reason-react.git"
},
"homepage": "https://reasonml.github.io/reason-react/",
"devDependencies": { "@opam/merlin": "*", "ocaml": "~4.2.0" },
"dependencies": {
"@opam/dune": "*",
"@opam/merlin-extend": " >= 0.3",
"@opam/ocaml-migrate-parsetree": "*",
"@opam/ocamlfind": "*",
"@opam/reason": "3.4.0",
"@opam/result": "*",
"ocaml": "~4.2.0"
},
"bin": {
"reactjs_jsx_ppx_v3.exe":
"./_build/default/jsx_ppx/reactjs_jsx_ppx_v3.exe"
},
"esy": {
"buildsInSource": "_build",
"build": [ [ "dune", "build", "-p", "reactjs_jsx_ppx_v3" ] ],
"install": [ [ "esy-installer", "reactjs_jsx_ppx_v3.install" ] ]
}
}
3 changes: 3 additions & 0 deletions esy.lock/.gitattributes
@@ -0,0 +1,3 @@

# Set eol to LF so files aren't converted to CRLF-eol on Windows.
* text eol=lf
3 changes: 3 additions & 0 deletions esy.lock/.gitignore
@@ -0,0 +1,3 @@

# Reset any possible .gitignore, we want all esy.lock to be un-ignored.
!*