Closed Kumagor0 closed 2 years ago
Fixes hook calls in renderer by calling React.createElement(renderer, renderProps) instead of renderer() (which causes "Hook call outside of function component error" if renderer function calls any hooks).
Fixes hook calls in renderer by calling React.createElement(renderer, renderProps) instead of renderer() (which causes "Hook call outside of function component error" if renderer function calls any hooks).