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
8
votes
1answer
385 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
80 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: "...
2
votes
0answers
42 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
143 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 ...
1
vote
0answers
109 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
2answers
302 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 ...