question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dynamic link vars not be interpolated on latest canary version

See original GitHub issue

Bug report

Describe the bug

https://github.com/vercel/next.js/discussions/14822

happy to report that is is working fine on 9.4.4 - but after seeing if I could reproduce on a next.js/examples paired down repo with the latest canary next.js - it was reproducible. (this could be a functionality changing that I haven’t caught in the docs) - but it feels like a bug to me

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. https://github.com/followbl/dynamic-routing
  2. Deploy to Vercel
  3. Click any post
  4. Click any comment
  5. View Logs on Vercel Screen Shot 2020-07-03 at 2 16 05 PM

Expected behavior

Expect the <Link vars to be interpolated in getServerSideProps context - instead they are provided as is in square brackets

System information

  • Version of Next.js: [9.4.5-canary.28]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
followblcommented, Jul 6, 2020

@Timer @ijjk deployed and it’s working as expected. thanks

0reactions
balazsorban44commented, Jan 29, 2022

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

App directory next/link dynamic href dev error #43074 - GitHub
href interpolation is not supported in the new router. The new router always use the query object to set search params on the...
Read more >
Bug? Keyframe interpolation does not correctly tra... - 11973114
Position keyframes set with Ease In / Ease Out / Bezier interpolation in Premiere come into After Effects with correct interpolation sometimes but...
Read more >
Runtime Environment - Nomad - HashiCorp Developer
Other settings are dynamically allocated when your job is scheduled. Both types of values are made available to your job through environment variables....
Read more >
Can I apply Dart's string interpolation dynamically?
This seems like a straightforward way to give the string literal in one place, and give the data you want to interpolate in...
Read more >
Docusaurus Client API
A simple interpolation component for text containing dynamic placeholders. The placeholders will be replaced with the provided dynamic values ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found