Sitecore JavaScript Rendering SDK NPM packages
Sitecore JavaScript Rendering SDK (JSS) is a set of JavaScript packages that add first-class support for JavaScript frameworks and enable the development of modern applications that consume Sitecore data.
In addition to the JSS CLI, the suite contains the following NPM packages:
-
@sitecore-jss/sitecore-jsscontains the core APIs and utilities for JSS, such as JSS Dictionary API,JSS Layout API, JSS GraphQL API, the infrastructure for Sitecore editors integration, and various utilities. Consult the API reference on Github. -
@sitecore-jss/sitecore-jss-dev-toolscontains developer tooling, such as development proxies and deployment scripts. -
@sitecore-jss/sitecore-jss-formscontains the APIs for Sitecore Forms integration. -
@sitecore-jss/sitecore-jss-manifestcontains disconnected-mode manifest generation capabilities. -
@sitecore-jss/sitecore-jss-proxycontains the headless-mode SSR proxy implementation used for Walkthrough: Rendering a JSS app server-side using the headless JSS proxy. -
@sitecore-jss/sitecore-jss-rendering-hostcontains the rendering host implementation. -
@sitecore-jss/sitecore-jss-trackingcontains APIs to invoke the JSS Tracker to track visitor behavior. -
@sitecore-jss/sitecore-jss-update-packagecontains semantics to generate JSS disconnected import packages. -
@sitecore-jss/sitecore-pipelinescontains a JavaScript implementation of the Sitecore pipeline pattern that is used for customizing the disconnected manifest.
The functionality they provide is available in JSS applications created based on sample apps. Unless otherwise indicated in a procedure or walkthrough, you do not have to install them individually.
The JSS sample applications leverage framework-specific NPM packages:
-
@sitecore-jss/sitecore-jss-angularcontains Angular integration components and services for JSS. -
@sitecore-jss/sitecore-jss-angular-schematicscontains Angular developer code generation schematics. -
@sitecore-jss/sitecore-jss-nextjscontains Next.js components and integration for JSS. Consult the API reference on Github. -
@sitecore-jss/sitecore-jss-reactcontains React components and integration for JSS. -
@sitecore-jss/sitecore-jss-react-formscontains React components and integration for JSS and Sitecore Forms. It can be used in JSS applications based on React and Next.js sample apps. This module is intended to be copied from and extended as needed - it is not meant to be a complete forms implementation. -
@sitecore-jss/sitecore-jss-react-nativecontains services and components for React Native. -
@sitecore-jss/sitecore-jss-vuecontains Vue integration and components for JSS.