validator.ts file and rerendering a lot when add/remove route while in dev
Unanswered
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?
1 Reply
@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