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
1answer
196 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 ...
0
votes
1answer
55 views

Node module not fully loading into browser

I am building a custom component library using Stenciljs and webcomponents. I have published to an npm repo and was able to create an example create-react-app app using all of the components without ...
2
votes
1answer
116 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 ...
0
votes
0answers
122 views

XP sample react app create failed using npm “jss create react-app react”

i am new to npm environments and sorry for english. When i try to setup a JSS server like mentioned here https://jss.sitecore.com/docs/getting-started/quick-start. Details: Sitecore version : 9.3, ...
2
votes
0answers
148 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&...
1
vote
1answer
338 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 ...
0
votes
2answers
557 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 ...
8
votes
1answer
487 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). ...
4
votes
0answers
87 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: "...