question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error in using react-split with nested library split.js

See original GitHub issue

Hello, 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:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jacol84commented, Jun 24, 2020
1reaction
nathancahillcommented, Jun 24, 2020

Thanks for your help debugging @jacol84!

Read more comments on GitHub >

github_iconTop 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 >
sirbob/react-select-nested - GitHub
It allows building nested selects.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found