error in using react-split with nested library split.js
See original GitHub issueHello, in my application I’m using react-split 2.0.7. This library has nested deps split.js and after upgrading this library to 1.6.0 an error occurs:
at SplitWrapper.componentDidMount (react-split.es.js:46)
at commitLifeCycles (react-dom.development.js:19690)
at commitLayoutEffects (react-dom.development.js:22662)
at HTMLUnknownElement.callCallback (react-dom.development.js:189)
at Object.invokeGuardedCallbackDev (react-dom.development.js:238)
at invokeGuardedCallback (react-dom.development.js:291)
at commitRootImpl (react-dom.development.js:22404)
at unstable_runWithPriority (scheduler.development.js:659)
at runWithPriority$1 (react-dom.development.js:11077)
at commitRoot (react-dom.development.js:22246)
at finishSyncRender (react-dom.development.js:21663)
at performSyncWorkOnRoot (react-dom.development.js:21649)
at react-dom.development.js:11131
at unstable_runWithPriority (scheduler.development.js:659)
at runWithPriority$1 (react-dom.development.js:11077)
at flushSyncCallbackQueueImpl (react-dom.development.js:11126)
at flushSyncCallbackQueue (react-dom.development.js:11114)
at scheduleUpdateOnFiber (react-dom.development.js:21056)
at Object.enqueueSetState (react-dom.development.js:12676)
at AsyncFunc.push../node_modules/react/cjs/react.development.js.Component.setState (react.development.js:464)
at AsyncFunc._callee$ (AsyncFunc.js:25)
at tryCatch (runtime.js:63)
at Generator.invoke [as _invoke] (runtime.js:282)
at Generator.prototype.<computed> [as next] (runtime.js:116)
at asyncGeneratorStep (asyncToGenerator.js:3)
at _next (asyncToGenerator.js:25)```
Unitl version split.js was 1.5.9 everything worked fine.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:11 (5 by maintainers)
Top Results From Across the Web
React-select library crashing my page on render
When I console.log out selector, I get an object that looks identical to any other react fragment object, and I am bundling my...
Read more >How To Handle Async Data Loading, Lazy Loading, and Code ...
Save and close the file. Now you need to import and render the new component to your root component. Open App. js :...
Read more >React Top-Level API
React components let you split the UI into independent, reusable pieces, ... Or, consider using immutable objects to facilitate fast comparisons of nested...
Read more >Lazy loading React components - LogRocket Blog
In this tutorial, we'll show you how lazy loading works in React.js, demonstrate how to apply code-splitting and lazy loading using ...
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 Free
Top 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

Hi @nathancahill I reproduced this bug i my repo https://github.com/jacol84/mija-react-split/
Thanks for your help debugging @jacol84!