Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including hybrid-placeholder-jss with all npm packages installed. Try it out:

require("@sitecore-jss/sitecore-jss/package.json"); // @sitecore-jss/sitecore-jss is a peer dependency. require("@sitecore-jss/sitecore-jss-react/package.json"); // @sitecore-jss/sitecore-jss-react is a peer dependency. require("react/package.json"); // react is a peer dependency. var hybridPlaceholderJss = require("hybrid-placeholder-jss")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hybrid-placeholder-jss v21.5.0

With the Hybrid Placeholder it's possible to load heavy parts of a Rendering Contents Resolver later. When a user navigates to a page directly everything will be loaded (with SSR support). When a user navigates to a page using Client-Side Rendering with XHR (single page app) the data is fetched with the layout service. Than the heavy parts can be skipped and will be loaded once the page is already visible.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free