- Notifications
You must be signed in to change notification settings - Fork6
NO LONGER MAINTAINED - SEEhttps://github.com/streamich/libreact INSTEAD
License
NotificationsYou must be signed in to change notification settings
MailOnline/libreact
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
React standard library — must-have toolbox for any React project.
- Isomorphic - all components work in browser and on server (and some in
react-native). - Seedemos,docs, andpackage.
npm ilibreact --save
Import each utility individually to decrease your bundle size
import{mock}from'libreact/lib/mock';constMyComponent=mock();
- Introduction
- Dummies
mock()andloadable()—examplelazy()anddelayed()
- Inversion
- Sensors
<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<ViewportSensor>,withViewport(), and@withViewport<WindowScrollSensor>,withWindowScroll(), and@withWindowScroll<WindowSizeSensor>,withWindowSize(), and@withWindowSize
- Context
- UI
- Animation
- Side Effects
- Boundaries
<BrowserOnly>,<ServerOnly>, and<ElectronOnly><ErrorBoundary>andwithErrorBoundary()<CacheBoundary>
- NEXT
- Other
Unlicense — public domain.
About
NO LONGER MAINTAINED - SEEhttps://github.com/streamich/libreact INSTEAD
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.
