Next.js Discord

Discord Forum

default.js

Unanswered
Chestnut-backed Chickadee posted this in #help-forum
Open in Discord
Chestnut-backed ChickadeeOP
There is no documentation for default.js
What is the use?

9 Replies

its for parallel routes
its page.js on first navigation inside of a parallel route
Chestnut-backed ChickadeeOP
any example?
only the docs
parallel routes current implementation is pretty half cocked
i cant think of a single valid usecase of it.
Alligator mississippiensis
@DirtyCajunRice | AppDir @Chestnut-backed Chickadee the documentation lacks information about default.js
at the time this question was posted, the documentation of default.js was still wip. now it's complete already, you can go there and learn how default.js works