CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2015-06-03-225837-react.sagewsOpen in CoCalc

Examples for support purposes...

Failed attempts to get react to work interactively in the browser...

%html(hide=0)
<div id='react'>
xxx
</div>
xxx
%javascript
var React = require('flux').React;
React.render(
  React.createElement('h1', null, 'Hello, world!'),
  document.getElementById('react')
);