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.

I got `Minified React error #307` on 10.0.0 version.

See original GitHub issue

Do you want to request a feature or report a bug?

  • [o] I found a bug
  • I want to propose a feature

What is the current behavior? I got Minified React error #307 on 10.0.0 version. My app crashes on pages were dropzone is implemented. When I return it on 9.0.0 it works fine. If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Operating System and react-dropzone version.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
thaddeusreidcommented, Mar 11, 2019

I am also seeing an app-crashing error after upgrading to v10.

Some additional details:

  • react/react-dom@16.8.3
  • webpack@3.2.3

The react-dropzone component loads just fine when loading my app without minification. To reproduce the error, bundle the app and minify it. When the component is loaded the app will crash (white screen) and throw an error in console:

app.04245da74f0362e33719.js:145 TypeError: Cannot set property 'lastEffect' of null
    at ti (app.04245da74f0362e33719.js:145)
    at ni (app.04245da74f0362e33719.js:145)
    at Object.useEffect (app.04245da74f0362e33719.js:145)
    at useEffect (app.04245da74f0362e33719.js:129)
    at L (app.04245da74f0362e33719.js:121)
    at E (app.04245da74f0362e33719.js:121)
    at Ko (app.04245da74f0362e33719.js:145)
    at app.04245da74f0362e33719.js:145
    at Xa (app.04245da74f0362e33719.js:145)
    at Ha (app.04245da74f0362e33719.js:145)
    at Ss (app.04245da74f0362e33719.js:145)
    at qs (app.04245da74f0362e33719.js:145)
    at xe (app.04245da74f0362e33719.js:145)
    at wn (app.04245da74f0362e33719.js:145)

Happy to share more details as needed.

Edit: Work-around is to downgrade to v9.0.0, no more crashing.

0reactions
rolandjitsucommented, Mar 13, 2019

I think lastEffect is an internal react error, see this SO and facebook/react#14014. In any case, the error is not a direct cause of this lib, so I’ll be closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invariant Violation: "Minified React error #307 - Stack Overflow
When importing some components from the library in the apps we are getting the Minified React error #307. If we have the same...
Read more >
Gatsby fails to build pages on netlify: WebpackError: Minified ...
Gatsby fails to build pages on netlify: WebpackError: Minified React error #65; ... My site builds fine locally. On Netlify it crashes when...
Read more >
Minified React error - Theia Community
when I open About, I get this err, I do not fix it? 2022-10-13T07:42:00.408Z root ERROR Error: Minified React error #409; ...
Read more >
3216341-33.patch - Drupal
is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. ... + $container->get('state') ); } @@ -323,8 +307,11 @@ public function ...
Read more >
react-dnd | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn.
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