Questions tagged [sitecore-react]

Questions related to the open source Sitecore.React module available on the Sitecore Market Place.

Filter by
Sorted by
Tagged with
1 vote
2 answers
63 views

Issue with Sitecore JavaScriptServices ViewEngine Rendering

We encountered the following exception when attempting to browse the page in Sitecore JSS 10.3 through experience editor. All the files have been deployed under wwwroot\sc103.sc\dist\. We have tried ...
Abdul Lathif's user avatar
2 votes
2 answers
61 views

Which Node &NPM version is compatible with sitecore 10.3.1

we are upgrading the sitecore from 9.3 to 10.3.1 but we are facing issue from Node side, Could anyone help us and shared the information which Node &NPM version is compatible with sitecore 10.3.1
user2369037's user avatar
2 votes
2 answers
70 views

Disable dictionary service call in get starter JSS/react template

I am using the Getting Started template, and I can see the dictionary call is initiated by default. How to disable this call?
LAL SASTRI's user avatar
5 votes
2 answers
291 views

Sitecore JSS react SSR - how to setup higher environment(UAT/PROD) rendering host for experience editor

All our resources are in azure! Our Sitecore instance, front end codes are hosted as app-services! We are trying to setup rendering host for experience editor. We are looking for ideal way for SSR ...
Raj's user avatar
  • 53
1 vote
0 answers
59 views

IMPORT ERROR(S) OCCURRED! Error de-serializing import data (Cannot cast Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JToken)

I have installed sitecore 10.0.1 version and sitecore jss version 15.0.1. While trying deploy the app by executing the jss command "jss deploy app --includeContent --includeDictionary --...
Saravanan's user avatar
0 votes
2 answers
175 views

Access layout service response sitecore.context object in Layout.JS file

In JSS react how to access the layout service response object sitecore.context in src/Layout.js. If you look at src/Layout.js file, In default we can access only sitecore.route fields but not sitecore....
Andi AR's user avatar
  • 743
0 votes
2 answers
5k views

The expected type comes from property 'field' which is declared here on type 'IntrinsicAttributes & TextProps'

In terms of Sitecore NextJS, I'm a complete beginner. This problem is beyond my knowledge. Please assist me in resolving the following issues. Complete Code: import { Text, Field, ...
Suresh R's user avatar
  • 347
1 vote
1 answer
270 views

Is it possible to pass an array data type to a react component with JSS Sitecore?

I am wanting to pass an array of string's into a react component with JSS Sitecore. At the moment, I am having to use CommonFieldTypes.SingleLineText in the sitecore component definition and splitting ...
Adam Brittain's user avatar
2 votes
1 answer
243 views

How to POST data to JSS Route

I am using Sitecore JSS in integrated mode. I have below scenario and need help to achieve it. When user will login to the web site, he can be part of one or more groups. After login user will see the ...
Alok Kumar's user avatar
2 votes
1 answer
765 views

How to embed Youtube & Vimeo videos in Sitecore JSS with React

I have create a video player component in Sitecore jss/react. I have tried with react-player player plugin. It is working fine in disconnected mode but as soon as I deployed it in Sitecore, it is ...
amit kumar's user avatar
2 votes
0 answers
456 views

Images are broken on Safari Browser [closed]

I'm using Sitecore 9.1, JSS and ReactJS. Some of the images are not showing on Safari but working fine on Chrome. Here's a sample url: /-/media/Intelligence-Bank/Folder/Folder/Logo/Logo.png?h=422&...
JSS Man's user avatar
  • 51
1 vote
1 answer
515 views

How to render a component after a async request with React & Sitecore JSS?

I have a simple article page. I should have an infinite scroll implementation, meaning once a user has reached the bottom of the page, I should load the next article. How can I render a component ...
user3415011's user avatar
1 vote
1 answer
794 views

How does one convert Sitecore JSS React boilerplate to typescript?

Is there a guide of some kind or possibly some helpful information floating around regarding the addition of typescript in a Sitecore JSS react boilerplate project? So far I've only been able to get ...
Jbird's user avatar
  • 160
0 votes
2 answers
1k views

Get items from rendering datasource in JSS

I have rendering that has been wrote in React and JSS. Sitecore displays rendering with static content. Is there any example how to get rendering datasource items and display Link fields from them ...
John Vein's user avatar
  • 141
8 votes
1 answer
622 views

How do you render EditFrame programmatically in C#?

I am working on an inherited project that was built with minimal support for editing with the Experience Editor (Sitecore 8.2.4). In particular, I need to retrofit EditFrames (documentation link). ...
TomT's user avatar
  • 1,079
4 votes
0 answers
97 views

Sitecore.React null reference error on ReactSettingsProvider

I am trying to make React work with a Sitecore 9 instance using https://github.com/GuitarRich/sitecore.react as reference. There were no build errors but upon publishing it, I encountered this error: "...
cjaaaaaaaaaay's user avatar