MCPcopy Create free account
hub / github.com/gaearon/react-hot-loader / createStateless

Function createStateless

test/utils.test.js:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 };
28
29 const createStateless = () => {
30 const Component1 = () => 42;
31 const Component2 = () => 43;
32 return { Component1, Component2 };
33 };
34
35 const testSuite = factory => {
36 it('should compare non-registred components', () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected