TypeError: e.getPublicInstance is not a function
See original GitHub issueAs soon as the dev tools are open the preact app blows up.
backend.js:9 Uncaught TypeError: e.getPublicInstance is not a function
at h (backend.js:9)
at m (backend.js:9)
at N (backend.js:9)
at Object.flushInitialOperations (backend.js:9)
at backend.js:9
at <anonymous>:1:225
at Array.map (<anonymous>)
at Object.emit (<anonymous>:1:202)
at i (backend.js:9)
at backend.js:9
at Map.forEach (<anonymous>)
at g (backend.js:9)
at e (backend.js:1)
I’m hoping someone can help me make sense of it. FWIW, dev tools stopped working with it as well. I haven’t changed anything in my project since i initially got it working. project is using preact
, preact-compat
, mobx-preact
,preact/devtools
, mobx
, mobx-persist
, and react-router-dom
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
useEffect() TypeError: e is not a function - Stack Overflow
My first assumption is that you are not really meaning to return from the useEffect , but were mis-using the short hand syntax...
Read more >JQXLite is not a function (using react) - Forums - jQWidgets
Hi, I am trying out jqwidgets using react. Encounter TypeError: JQXLite is not a function. Please assist, thanks. Below how i the error...
Read more >reactstrap - UNPKG
Tether = f()}})(function(){var define,module,exports;return (function e(t,n ... new TypeError('Super expression must either be null or a function, not ' + ...
Read more >Office of Data Governance and Transparency - Oregon GEO
getPublicInstance ())}}function s(e){return r() ... r=n(49);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t ...
Read more >React Art and Paths.js - Code Daily
Surface, Shape = ReactArt.Shape, Path = require("paths-js/path"); var Demo = React.createClass({ getInitialState: function () { return { to: { x: 30, y: 50,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We just released Preact 8.5.2 which fixes this 🎉
@marvinhagemeister thank you for swift action. i know it must be difficult having to “react” to what arbitrary changes they make in react/react-devtools.