New layout causes component to be called twice
Answered
Spectacled Caiman posted this in #help-forum
Spectacled CaimanOP
Sandbox: https://rb.gy/ymw3d (had to shorten, link was too long).
Visiting app/courses/145/154, and you will see the console log being logged twice. This only happens because of the new layout (I'm assuming).
Is this a bug or am I doing something wrong? I'm using a similar routing style to call a database, and the call is being done twice which breaks some stuff, so I need to fix this somehow.
Visiting app/courses/145/154, and you will see the console log being logged twice. This only happens because of the new layout (I'm assuming).
Is this a bug or am I doing something wrong? I'm using a similar routing style to call a database, and the call is being done twice which breaks some stuff, so I need to fix this somehow.
Answered by Spectacled Caiman
woahhh when doing
npm install next@canary the bug is fixed...1 Reply
Spectacled CaimanOP
woahhh when doing
npm install next@canary the bug is fixed...Answer