Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query params broken in production? #5292

Closed
joyguy55 opened this issue Sep 25, 2018 · 5 comments
Closed

Query params broken in production? #5292

joyguy55 opened this issue Sep 25, 2018 · 5 comments

Comments

@joyguy55
Copy link

joyguy55 commented Sep 25, 2018

Bug report

Describe the bug

In production this.props.router.query is always empty. Even though the URL indicates a param such as this one ?index=1

I deployed using zeits Now. Everything seems to work fine except for my pages that take dynamic indices.

Screenshots

IN PROD w/ NOW
screen shot 2018-09-25 at 4 28 31 pm

LOCALHOST
screen shot 2018-09-25 at 4 35 48 pm

CODE
screen shot 2018-09-25 at 4 31 55 pm

System information

  • OS: macOS
  • Browser chrome
  • Version of Next.js: 6.1.1
@timneutkens
Copy link
Member

Are you using next export?

@FranciscoMSM
Copy link

@timneutkens I'm facing the same issue. Have you close it because there's a current workaround? I'm using v7.0.2

@timneutkens
Copy link
Member

Closed because of no activity and no reproduction. There's 290 open issues so if they become stale we close them to clean up.

@rainstormza
Copy link
Contributor

@timneutkens I'm facing the same issue.

@sunil-jhamnani-zz
Copy link

sunil-jhamnani-zz commented Apr 26, 2019

Are you using next export?

@timneutkens
Is this issue because of this?
If yes can you suggest any solution to this and why this happens

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants