Giter Club home page Giter Club logo

Comments (2)

Simon-Laux avatar Simon-Laux commented on July 4, 2024

happened to @adbenitez in #3997 also with a video message.

issue can probably be found by reading code and checking if some component has an return statement before an hook, which is not allowed.

from deltachat-desktop.

Simon-Laux avatar Simon-Laux commented on July 4, 2024

in dev mode I got this more helpful error

Warning: React has detected a change in the order of Hooks called by Message2. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks

   Previous render            Next render
   ------------------------------------------------------
1. useContext                 useContext
2. useContext                 useContext
3. useContext                 useContext
4. useContext                 useContext
5. useCallback                useCallback
6. useContext                 useContext
7. useContext                 useContext
8. useCallback                useCallback
9. useContext                 useContext
10. useCallback               useCallback
11. useCallback               useCallback
12. useCallback               useCallback
13. useCallback               useCallback
14. useContext                useContext
15. useContext                useContext
16. useCallback               useCallback
17. useContext                useContext
18. useContext                useContext
19. useCallback               useCallback
20. useContext                useContext
21. useCallback               useCallback
22. useContext                useContext
23. useCallback               useCallback
24. useContext                useContext
25. useContext                useContext
26. useContext                useContext
27. useCallback               useCallback
28. useContext                useContext
29. useContext                useContext
30. useCallback               useCallback
31. useCallback               useCallback
32. useContext                useContext
33. useCallback               useCallback
34. useCallback               useCallback
35. useCallback               useCallback
36. useCallback               useCallback
37. useContext                useContext
38. useCallback               useCallback
39. useCallback               useCallback
40. useCallback               useCallback
41. useState                  useContext
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    at Message2

from deltachat-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.