package
React standard library
npm install libreactGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.

React standard library—must-have toolbox for any React project.
react-native).npm i libreact --save
Library is modular—you can import each component by its name.
import {mock} from 'libreact/lib/mock';
// or
import {mock} from 'libreact/modules/mock';
const MyComponent = mock();mock() and loadable() — This project exists thanks to all the people who contribute.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Unlicense — public domain.
streamich
vadimsdaleckis@gmail.com
<State> and withState()
<Toggle>, withToggle(), and @withToggle — example<Flipflop>, withFlipflop(), and @withFlipflop<Value>, withValue(), and @withValue<Counter>, withCounter() and @withCounter<List>, withList(), and @withList<Map>, withMap(), and @withMap<ShouldUpdate>, shouldUpdate(), and pure()<Lifecycles>invert() and <Inverted><ActiveSensor>, withActive(), and @withActive<BatterySensor>, withBattery(), and @withBattery<ExitSensor> — example<FocusSensor>, withFocus(), and @withFocus<GeoLocationSensor>, withGeoLocation(), and @withGeoLocation<HoverSensor>, withHover(), and @withHover — example<IdleSensor>, withIdle(), and @withIdle<MediaDeviceSensor>, withMediaDevices(), and @withMediaDevices<MediaSensor>, withMedia(), and @withMedia<MotionSensor>, withMotion(), and @withMotion<MouseSensor>, withMouse(), and @withMouse — example<NetworkSensor>, withNetwork(), and @withNetwork<LightSensor>, withLight(), and @withLight<LocationSensor>, withLocation(), and @withLocation<OrientationSensor>, withOrientation(), and @withOrientation<ScratchSensor>, withScratch(), and @withScratch<ScrollSensor><SizeSensor>, withSize(), and @withSize — example
<WidthSensor>, , and <TouchSupportSensor><ViewportSensor>, withViewport(), and @withViewport
<WindowScrollSensor>, withWindowScroll(), and @withWindowScroll<WindowSizeSensor>, withWindowSize(), and @withWindowSize
<WindowWidthSensor>, , and <Provider>, <Consumer>, withContext(), and @withContext<Theme>, <Themed>, withTheme(), and @withTheme<CssVarsProvider>, <CssVars>, withCssVars(), and @withCssVarscreateRouter(), <Router>, <Route>, <Switch>, , , and <Translations>, <Translate>, <T>, withT(), and @withT<Portal>, <Overlay>, and <Modal><Dimmer> and <Dimmable><Parallax><FullScreen><Slider><DropArea><Group><InfiniteScroll><OutsideClick><Ripple> and withRipple() — example<Img><ListTable><WidthQuery>, <View>, <WindowWidthQuery>, and <InlineWidthQuery><Audio> and <Video><Speak>, <Vibrate>, <Alert><BrowserOnly>, <ServerOnly>, and <ElectronOnly><ErrorBoundary> and withErrorBoundary()<CacheBoundary><ViewportObserverSensor>withWindowWidth()Estimated unpacked size across 36 packages.
7.3 MB
Includes dependencies.
7 direct · 6 outdated
^0.1.0
0.3.0
^1.13.0
5.6.2
^3.3.2
6.0.2
1.6.5
2.13.7
^2.0.1
5.0.2
0.6.2
2.0.3