MCPcopy
hub / github.com/Pomax/react-onclickoutside / rerender

Function rerender

test/test.js:338–340  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

336 var WrappedComponent = wrapComponent(ClassComponent);
337
338 const rerender = function(props) {
339 return ReactDOM.render(React.createElement(WrappedComponent, props), container);
340 };
341
342 it('should render fine when wrapped component renders as null', function() {
343 var component = rerender({ renderNull: true });

Callers 1

test.jsFile · 0.85

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected