Classes
- Barrier — Promise with
.resolve()and.reject()exposed as instance methods. - Cached — Cache of (a)synchronously retrieved items, with timestamp-based expiration.
- E2eSsrEnv — Jest environment for end-to-end testing of SSR, and client-side execution of Webpack-built code.
- Emitter — Simple listeneable data emitter.
- Semaphore — Synchronization primitive.
- ServerSsrContext — SSR context class being used by the library.
Components
- Button — Themed button / button-like link.
- Checkbox — Themed checkbox.
- CustomDropdown — Themed dropdown, based on the basic
<div>elements. - Dropdown — Themed dropdown, based on the native
<select>element. - Input — Themed text input.
- Link — External / internal hyperlink.
- MetaTags — Manages document's meta tags (title, description, social media thumbnails, etc.).
- Modal — Themed modal.
- NavLink — Navigation links (specially styled when match the current location).
- PageLayout — A simple themed page layout.
- Switch — Switches between multiple options shown side-by-side.
- TextArea — Auto-resizeable text area.
- ThemeProvider — Provides context visual themes to its children tree.
- Throbber — A simple throbber (three bouncing circles).
- WithTooltip — Themed tooltip wrapper.
- YouTubeVideo — Embed YouTube video.
Deprecated Components
- CodeSplit — Removed in v1.14.0, use splitComponent() instead (migration guidelines).
- ScalableRect — Removed in v1.31.0, use aspect-ratio CSS property instead.
Configs
- Babel — Configs (presets) for Babel builds.
- ESLint — Configs for ESlint code scans.
- Jest — Configs for Jest test framework.
- Stylelint — Configs for Stylelint code scans.
- TypeScript — Configs for TypeScript compiler.
- Webpack — Configs for Webpack builds of apps and libs.
Functions
- assertEmptyObject() — Asserts the given object is empty, both at compile- and runtime.
- getConfig() — returns the application configuration object.
- launchClient() — Client-side initialization and launch of ReactJS apps.
- launchServer() — Creates and starts ReactJS server.
- splitComponent() — Wraps a React component for code splitting.
- withRetries() — Attempts an operation multiple times till the first success.
Deprecated Functions
- client() — Renamed into launchClient() in v1.47.0-alpha.8, and also moved to a dedicated client-side package export.
- newBarrier() — Deprecated in v1.23.9, and removed in v1.24.0. Instead use Barrier constructor directly.
- server() — Renamed into launchServer() in v1.47.0-alpha.8, and also moved to a dedicated server-side package export.
Scripts
- react-utils-build - Encapsulates Babel and [Webpack] compilation for apps and libs.
- react-utils-setup - Library setup and upgrades.
Styles
- Global SCSS Styles - Generic global CSS stylesheet for apps.
- SCSS Mixins - Useful SCSS mixins.
Types
- Extends — Validates that a type extends (is assignable to) the given base type.
- Implements — Validates that a type implements (has all fields of) the given base type.
- ObjectKey — the most generic type of an object key in TypeScript.
Utilities
- isomorphy - Helpers for isomorphic code logic.
- Jest Utils — Helpers useful in Jest tests.
- React Global State - Aliases for react-global-state lib.
- React Themes — Aliases for react-themes library.
- Server-side utilities — Server-side constants and functions.
- time - Date & time utils.
- webpack - Webpack-related utils.
Deprecated Utilities
- api — It was just an alias for axios library; it has been removed in v1.39.0; use axios directly instead.
- config — Isomorphic app config. Removed in v1.47.0, use the getConfig() function instead.
- PT (prop-types) — Removed in v1.36.0,
as
propTypeschecks are ignored by React v19+. Migrate to TypeScript, or alternative type-checking solutions. - themed — Aliases for react-themes library were changed in the library v1.48.0, and their documentation page has been moved to React Themes.