Libraries Pre-Installed with UI Framework
The UI Framework includes a default set of libraries that support front-end and back-end application development. These libraries provide core functionality through React, Redux, TypeScript, and essential tools for UI logic, testing, and state management.
You do not need to install these libraries manually. The platform loads them in every environment automatically.
Core libraries
The platform includes the following core libraries and makes them available to all SDL and React components:
| Core library | Description |
|---|---|
| TypeScript | Compiles and validates JavaScript with static types |
| React | Builds modular user interfaces with a component model |
| Redux | Controls application state through a centralized store |
| RxJS | Defines reactive pipelines with observable streams |
| Webpack | Packages code and assets into optimized builds |
| React Testing Library | Verifies React component behavior with focused tests |
These libraries provide the foundation for building C3 AI applications. The platform loads them without any additional configuration.
Check library versions
To view the exact list of pre-installed libraries, create a new application with UI. Once the application is running, navigate the the web console and run:
// Get the list of libraries UI Stack depends on
ImplLanguage.Runtime.forName("js-webpack_c3").libraries
// Get all the libraries (direct and transitive dependencies) UI Stack needs
// This is the full list of libraries that need to be present in your registry if
// You are developing from an air-gapped environment
Js.Runtime.forName('js-webpack_c3-client-node').librariesInstall additional libraries
When your application needs libraries that the platform does not include by default, you can modify the runtime to include them.
Follow the steps in this topic: Use libraries from the npm ecosystem