@donnikitos/react-usepromise
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -17,3 +17,3 @@ /*! | ||
const Comp = ($r.default[$param] ?? $r.default); | ||
setState(<Comp />); | ||
setState(React.createElement(Comp)); | ||
}); | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@donnikitos/react-usepromise", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Use promisises and asynchronous component loading hook for React.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4376