Package Exports
- @snappmarket/hooks
- @snappmarket/hooks/index
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@snappmarket/hooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Re-usable react hooks
This hooks are implemented in our project, feel free to use and contribute on them
🧵 do not worry about render phase effect calls
Hooks Found Here
useDebounce | Debounce on value change |
auto-install | Automatically install dependencies that are imported by a bundle. |
beep | System beeps on errors and warnings |
buble | Compile ES2015 with buble |
commonjs | Convert CommonJS modules to ES6 |
data-uri | Import modules from Data URIs |
dsv | Convert .csv and .tsv files into JavaScript modules with d3-dsv |
html | Creates HTML files to serve Rollup bundles |
image | Import JPG, PNG, GIF, SVG, and WebP files |
inject | Scan modules for global variables and injects import statements where necessary |
json | Convert .json files to ES6 modules |
legacy | Add export declarations to legacy non-module scripts |
multi-entry | Use multiple entry points for a bundle |
node-resolve | Locate and bundle third-party dependencies in node_modules |
replace | Replace strings in files while bundling |
run | Run your bundles in Node once they're built |
strip | Remove debugger statements and functions like assert.equal and console.log from your code |
sucrase | Compile TypeScript, Flow, JSX, etc with Sucrase |
typescript | Integration between Rollup and Typescript |
url | Import files as data-URIs or ES Modules |
virtual | Load virtual modules from memory |
wasm | Import WebAssembly code with Rollup |
yaml | Convert YAML files to ES6 modules |