MCPcopy
hub / github.com/zalmoxisus/remote-redux-devtools / composeWithDevTools

Function composeWithDevTools

src/devTools.js:299–307  ·  view source on GitHub ↗
(...funcs)

Source from the content-addressed store, hash-verified

297 );
298
299export function composeWithDevTools(...funcs) {
300 if (funcs.length === 0) {
301 return devToolsEnhancer();
302 }
303 if (funcs.length === 1 && typeof funcs[0] === 'object') {
304 return compose(funcs[0]);
305 }
306 return compose({})(...funcs);
307}

Callers 1

configureStoreFunction · 0.85

Calls 2

devToolsEnhancerFunction · 0.85
composeFunction · 0.85

Tested by

no test coverage detected