0.0.17 • Published 9 months ago

@re-up/sandbox v0.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@re-up/sandbox

install:

bun i @re-up/sandbox

usage:

import {condish} from '@re-up/sandbox'

function App(){

  const {loading, data} = useFetch()

  const ConditionalComponent = useCallback(() => {
    const options = condish(<Loading/>, <Viewer {...data}/>)
    return <>{options.get(loading)}<>
  }, [loading, data])


  return <ConditionalComponent />
}
acornacorn-jsxajvansi-escapesansi-regexansi-stylesanymatchargparsebabel-jestbabel-plugin-istanbulbabel-plugin-jest-hoistbabel-preset-current-node-syntaxbabel-preset-jestbalanced-matchbrace-expansionbracesbrowserslistbserbuffer-frombun-typescallsitescamelcasecaniuse-litechalkchar-regexci-infocjs-module-lexercliuicocollect-v8-coveragecolor-convertcolor-nameconcat-mapconvert-source-mapcreate-jestcross-spawndebugdedentdeep-isdeepmergedetect-newlinediff-sequenceselectron-to-chromiumemitteryemoji-regexerror-exescaladeescape-string-regexpeslint-scopeeslint-visitor-keysespreeesprimaesqueryesrecurseestraverseesutilsexecaexitexpectfast-deep-equalfast-json-stable-stringifyfast-levenshteinfastqfb-watchmanfile-entry-cachefill-rangefind-upflat-cacheflattedfs.realpathfseventsfunction-bindgensyncget-caller-fileget-package-typeget-streamglobglob-parentglobalsgraceful-fshas-flaghasownhtml-escaperhuman-signalsignoreimport-freshimport-localimurmurhashinflightinheritsis-arrayishis-core-moduleis-extglobis-fullwidth-code-pointis-generator-fnis-globis-numberis-path-insideis-streamisexeistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsjest-changed-filesjest-circusjest-clijest-configjest-diffjest-docblockjest-eachjest-environment-nodejest-get-typejest-haste-mapjest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-runtimejest-snapshotjest-utiljest-validatejest-watcherjest-workerjs-tokensjs-yamljsescjson-bufferjson-parse-even-better-errorsjson-schema-traversejson-stable-stringify-without-jsonifyjson5keyvkleurlevenlevnlines-and-columnslocate-pathlodash.mergelru-cachemake-dirmakeerrormerge-streammicromatchmimic-fnminimatchmsnatural-comparenode-int64node-releasesnormalize-pathnpm-run-pathonceonetimeoptionatorp-limitp-locatep-tryparent-moduleparse-jsonpath-existspath-is-absolutepath-keypath-parsepicocolorspicomatchpiratespkg-dirprelude-lspretty-formatpromptspunycodepure-randqueue-microtaskreact-isrequire-directoryresolveresolve-cwdresolve-fromresolve.exportsreusifyrun-parallelsemvershebang-commandshebang-regexsignal-exitsisteransislashsource-mapsource-map-supportsprintf-jsstack-utilsstring-lengthstring-widthstrip-ansistrip-bomstrip-final-newlinestrip-json-commentssupports-colorsupports-preserve-symlinks-flagtest-excludetext-tabletmplto-fast-propertiesto-regex-rangetype-checktype-detecttype-festtypescriptundici-typesupdate-browserslist-dburi-jsv8-to-istanbulwalkerwhichword-wrapwrap-ansiwrappywrite-file-atomicy18nyallistyargsyargs-parseryocto-queue
0.0.17

9 months ago

0.0.16

9 months ago

0.0.15

9 months ago