Sha256: 12b4bf951d47ad161c760a05386a0b3096e3731547a4504291992bafeb203852

Contents?: true

Size: 231 Bytes

Versions: 6

Compression:

Stored size: 231 Bytes

Contents

import {render} from 'react-dom';
import React from 'react';
import Counter from './index';

window.renderCounterClient = function(id, props) {
  const node = document.getElementById(id);
  render(<Counter {...props} />, node);
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
js_render-0.7.0 examples/react/app/assets/javascripts/components/Counter/renderClient.js
js_render-0.6.0 examples/react/app/assets/javascripts/components/Counter/renderClient.js
js_render-0.5.0 examples/react/app/assets/javascripts/components/Counter/renderClient.js
js_render-0.4.0 examples/react/app/assets/javascripts/components/Counter/renderClient.js
js_render-0.3.0 examples/react/app/assets/javascripts/components/Counter/renderClient.js
js_render-0.2.0 examples/react/app/assets/javascripts/components/Counter/renderClient.js