Một tập hợp các React hooks để trở nên “nghiện”
Demos của Storybook
Xem demos.
Gói phần mềm
@21kb/react-device-orientation-hook
@21kb/react-dom-status-hook
@21kb/react-element-focus-hook
@21kb/react-notification-hook
@21kb/react-online-status-hook
@21kb/react-page-visible-hook
@21kb/react-vibration-hook
.editorconfig
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true
[*.md]
max_line_length = 0
trim_trailing_whitespace = false
.gitignore
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Typescript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.cache/
public
yarn-error.log
# package-lock.json
package-lock.json
# Build output
packages/**/lib
# React Storybook output
.storybook-output
.prettierrc
{
semi: true,
singleQuote: true,
trailingComma: all
}
Chi tiết tải về:
Tác giả: 21kb
Nguồn: https://github.com/21kb/react-hooks
Giấy phép: MIT license
Cảm ơn bạn!