Next.js 16.3 Preview — Feedback #95130
Replies: 19 comments 24 replies
-
|
Hi @samselikoff! Testing 16.3 Preview with Turbopack + This cannot be silenced when a filesystem call receives a This has been originally reported here: #95125 Additional details📁 Minimal Reproduction// lib/loader.js
import fs from 'fs'
import path from 'path'
const folder = path.join(process.cwd(), 'data')
// ✅ WORKS — bare variable, comment silences warning
const files = fs.readdirSync(/* turbopackIgnore: true */ folder)
// ❌ STILL WARNS — no comment placement can silence this
const contents = files.map(f =>
fs.readFileSync(path.join(folder, f), 'utf8')
)
// ❌ STILL WARNS — this is the EXACT form the warning recommends!
const contents2 = files.map(f =>
fs.readFileSync(path.join(/* turbopackIgnore: true */ folder, f), 'utf8')
)
// ❌ STILL WARNS
const contents3 = files.map(f =>
fs.readFileSync(/* turbopackIgnore: true */ path.join(folder, f), 'utf8')
)Steps to reproduce:
📊 Annotation Behavior Matrix
🔍 Root Cause (Traced in Source)After digging into the Turbopack source, the exact bug is in:
// All call arguments are always linked with EMPTY ImportAttributes
// The `ignore` flag is NEVER passed down to argument expressions
let linked_args = || async {
linked_args_cache.get_or_try_init(|| async {
unlinked_args
.iter()
.map(|arg| arg.clone_in(state.arena.get_or_default()))
.map(|arg| state.link_value(arg, ImportAttributes::empty_ref())) // ← BUG
.try_join()
.await
}).await
};What this means:
The 💥 Why It Matters (Not Just Cosmetic)This is a real deployment risk in these common cases: 1. Runtime-resolved data folders: // You CANNOT silence this no matter what
const data = fs.readFileSync(path.join(process.cwd(), 'data', filename), 'utf8')2. Libraries in // Inside node_modules — you cannot add comments here at all
const files = fs.readdirSync(migrationsFolder)
files.map(f => fs.readFileSync(path.join(migrationsFolder, f)))Result: The entire project — including the
🌍 Environment
🔗 Related Issues
✅ Expected BehaviorThe 💡 Proposed Fix DirectionIn
Happy to submit a PR if that would help! 🙏 |
Beta Was this translation helpful? Give feedback.
-
|
I love the new defaults with One thing I'm confused about: with Based on this from the docs I would not expect runtime data to be prefetched without configuring 'allow-runtime':
|
Beta Was this translation helpful? Give feedback.
-
|
Hey @samselikoff - there are very good reports on dev build performance for Turbopack here. Everyone in that thread (and my team) is eagerly awaiting release! |
Beta Was this translation helpful? Give feedback.
-
|
I seem to have found a bug with Instant Insights. In my setup, I have a top-level loading.tsx file ( |
Beta Was this translation helpful? Give feedback.
-
|
I might be missing something obviously, but think I've ran into a bug with meta titles (or maybe metadata in general) for built apps. On a fresh load of a page with Example metadata I'm using on most of my pages atm: I've found that disabling |
Beta Was this translation helpful? Give feedback.
-
|
I got this runtime error using react-email in preview.5 prettier is only used as subdependency of react-email BTW it does not error in canary.32 |
Beta Was this translation helpful? Give feedback.
-
|
Is |
Beta Was this translation helpful? Give feedback.
-
|
I tried the latest 16.3 Canary and I so happy!!! My memory usage dropped from ~20 GB to ~5GB!! Thanks so much!!! My team is very excited to the 16.3 release! |
Beta Was this translation helpful? Give feedback.
-
|
When two unrelated routes each inject Instant navigation is great :) |
Beta Was this translation helpful? Give feedback.
-
|
After upgrading to the latest preview version, I'm seeing the following warning in the terminal: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hi, I just read the blog post about the new instant navigations feature, and I gotta say it's pretty nice, and it's a step in the right direction. I'm a bit curious though as to what is the difference between this and the loading.tsx component we already had, cause I can see everyone already hacking it and pointing out things and all that, but I genuinely out of pure curiosity just want to know what the difference is between this and the loading component, and I think future blog post containing a comparison of both or maybe a best practice guide on when to use both would be well appreciated by everyone. Thank you very much, and I love the work you guys are doing. |
Beta Was this translation helpful? Give feedback.
-
|
I tried deploying to AWS using SST The deployment works as expected when |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Why is the rust react compiler turbopack only? The webpack compilation also uses SWC and could use the rust port. I would love to try it out without the hassle (and issues) to migrate to turbopack |
Beta Was this translation helpful? Give feedback.
-
|
Hey! A few questions regarding the blog post for 16.3: 1.)
1.1) The data of 2.) Partial prerendering, cached shell and layout
The example used in the blog is for a route 2.1) This is how partial prerendering worked for months already (before 16.3), right? Has something changed for that behavior? |
Beta Was this translation helpful? Give feedback.
-
|
just tested the preview, and the memory improvements with Turbopack are incredible! Out of curiosity, are there technical blockers preventing a stable release with just the Turbopack improvements? I think it would be awesome if users could benefit from these performance gains without having to wait for the rest of the full stable release around instant navigation and etc in the future |
Beta Was this translation helpful? Give feedback.
-
|
The instant navigation is working great. Since there are no major bugs, I have deployed this to production: https://www.cruz.com/vehicles/search SST v14 (OpenNext), without cacheComponent |
Beta Was this translation helpful? Give feedback.
-
|
Hi, everyone. Good benefit to you by my tech skills and experiences. |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
Use this discussion to report any feedback or bugs you find in the 16.3 Preview release!
Beta Was this translation helpful? Give feedback.
All reactions