3var ReactDOMServer = require('react-dom/server');
4var ReactDOM = require('react-dom');
6exports.isServerSide = typeof document === 'undefined';
8exports.renderToString = ReactDOMServer.renderToString;
10exports.createRoot = function(elem) {
12 return ReactDOM.createRoot(elem);
16exports.renderRoot = function(component) {
17 return function(root) {
19 root.render(component)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list