validator.ts file and rerendering a lot when add/remove route while in dev
Answered
aryomuzakki posted this in #help-forum
hello, while next dev is running, and then i create new api route or app page, my current opened page are compiling and rendering multiple times. and then sometimes vs code will open up .next/dev/types/validator.ts and have unsaved changes.
this also happen when deleting an api route. it reach over a hundred of request.
why is this happen?
this also happen when deleting an api route. it reach over a hundred of request.
why is this happen?
Answered by B33fb0n3
this is a bug in next16. It happens to all of us. For now ignore it and upgrade in the future to the newest patches, so that its fixed for you as well. Currently, there is no fix
4 Replies
@aryomuzakki hello, while next dev is running, and then i create new api route or app page, my current opened page are compiling and rendering multiple times. and then sometimes vs code will open up .next/dev/types/validator.ts and have unsaved changes.
this also happen when deleting an api route. it reach over a hundred of request.
why is this happen?
this is a bug in next16. It happens to all of us. For now ignore it and upgrade in the future to the newest patches, so that its fixed for you as well. Currently, there is no fix
Answer
@B33fb0n3 this is a bug in next16. It happens to all of us. For now ignore it and upgrade in the future to the newest patches, so that its fixed for you as well. Currently, there is no fix
thank for answering, hope the team can fix it well
I hope so too