GuitarRich / sitecore.react

A ReactJS module for building Sitecore components with React
MIT License
36 stars 22 forks source link

Ability to turn off client side script in Editing mode #15

Closed TomTyack closed 6 years ago

TomTyack commented 6 years ago

Another pull request solved this issue for me: _registerComponent(...): Target container is not a DOM element.

However I still need client side script to work when not in Experience Editor.

This adds the ability to turn off client side script only when editing in Experience Editor to solve.