I was reading about Automatic Static Optimization and I came across this little section that says:
So according to this docs
During prerendering, the router's query object will be empty since we do not have query information to provide during this phase. After hydration, Next.js will trigger an update to your application to provide the route parameters in the query object.
Note: Parameters added with dynamic routes to a page that's using getStaticProps will always be available inside the query object.
The first paragraph says that the query object will be empty but the NOTE section says that it will always have available the parameters.
So what rule applies here?