1 Answer
1

Using API-only mode does not require usage of any of the JSS npm packages. In API-only mode, your app is interacting directly with one or more of the Sitecore headless APIs, e.g. Layout Service, GraphQL, etc... For instance, if you want data from Layout Service, you would use the xhr/fetch client of choice and make requests directly to the Layout Service endpoint.

That said, if you are consuming Layout Service data in your React app, you'll likely find a lot of value in using the @sitecore-jss/sitecore-jss-react package, specifically the Placeholder component and the field helper components, e.g. Image, Text, etc... All of those components are designed to help render Layout Service data and reduce boilerplate code in your own app.

Thank You Adam for your quick response.. if we use SSR mode then Experience Editor works.? Because i guess that i have seen somewhere that the Experience Editor works only with the integration mode.
– GobinathNov 5 '18 at 21:03

1

Experience Editor only works in Integrated mode because Experience Editor is a Sitecore application that requires a Sitecore instance. Experience Editor does not work in Headless SSR (proxy) mode.
– Adam WeberNov 6 '18 at 0:36