3.1.0 • Published 3 months ago
@castiron/hooks v3.1.0
common-js/hooks
A repository for common React hooks
Requires
React!
TS Config Setup
To import individual hooks, make sure your project's ts config file has these options:
{
"compilerOptions": {
"module": "esnext",
"moduleResolution": "bundler",
...
}
...
}
Importing
@castiron/hooks/
is set up so that you can
# import hooks individually, in little bite sized pieces:
import useLatest from "@castiron/hooks/useLatest";
# or use named imports:
import { useLatest } from "@castiron/hooks";
# to import hooks individually without tsconfig moduleResolution: "bundler", refer to the dist directory:
import useLatest from "@castiron/hooks/dist/useLatest";
Other libraries
To see a list of other supported libraries by team Frontendos, see the resources page in Notion.
3.0.1-alpha.0
3 months ago
3.1.0
3 months ago
3.0.1
3 months ago
3.1.0-alpha.0
3 months ago
3.0.0
5 months ago
3.0.0-alpha.0
5 months ago
2.2.0-alpha.0
5 months ago
2.0.0-alpha.3
9 months ago
2.0.0-alpha.4
9 months ago
2.0.0-alpha.5
9 months ago
2.0.0-alpha.6
8 months ago
2.0.0-alpha.0
9 months ago
2.0.0-alpha.1
9 months ago
2.0.0-alpha.2
9 months ago
2.0.0-beta.1
8 months ago
2.0.0-beta.0
8 months ago
2.1.0
7 months ago
2.0.0
8 months ago
1.3.1-beta.0
9 months ago
2.1.0-alpha.0
7 months ago
1.3.0
1 year ago
1.2.0
2 years ago
1.1.1
2 years ago
1.2.1
1 year ago
1.1.1-beta.0
2 years ago
1.1.1-beta.1
2 years ago
1.3.0-alpha.0
1 year ago
1.2.1-alpha.0
1 year ago
1.1.0
2 years ago
1.1.0-beta
2 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.0-alpha.6
3 years ago
1.0.0-alpha.5
3 years ago
1.0.0-alpha.4
3 years ago
1.0.0-alpha.3
3 years ago
1.0.0-alpha.2
3 years ago