Same as https://github.com/facebook/react/issues/10103, but for the server renderer. You can look at implementation in https://github.com/facebook/react/pull/11168 and do something very similar in `ReactPartialRenderer.js`.
render() {
          return <div>inner text</div>;
        }
      }
      class TestComponent extends React.Component {
        render() {
          return (
            <span>
              <NestedComponent />
            </span>
          );
        }
      }
      const response = ReactDOMServer.renderToStaticMarkup(<TestComponent />);
      expect(response).toBe('<span><div>inner text</div></span>');
    });
    it('should not put checksum and React ID on text components', () => {
      class TestComponent extends React.Component {