Skip to content
Dashboard

Next.js 6.1

Software Engineer

Copy link to headingImproved hot reloading reliability

Copy link to headingHot reloading Typescript and other custom extensions

Copy link to headingCodebase improvements

The pre-rendering files are now in the `server` directory.
The pre-rendering files are now in the `server` directory.

Copy link to headingNext.js codemods

// old
class Page extends React.Component {
render() {
const {url} = this.props
return <div>{url.pathname}</div>
}
}
export default Page

How the pathname was accessed in versions before Next.js 6 using `url`.

// new
import { withRouter } from 'next/router'
class Page extends React.Component {
render() {
const {router} = this.props
return <div>{router.pathname}</div>
}
}
export default withRouter(Page)

How the pathname should be accessed in versions after Next.js 6 using `router` injected by `withRouter`.

jscodeshift -t ./url-to-withrouter.js pages/**/*.js

This will transform uses of `url` to `withRouter`.

Copy link to headingContributing to Next.js

There's 30 open issues with the "good first issue" label. Giving new contributors the opportunity to contribute.
There's 30 open issues with the "good first issue" label. Giving new contributors the opportunity to contribute.

Copy link to headingnextjs.org open source

Copy link to headingFuture

Copy link to headingWebpack 4

Copy link to headingServerless Next.js

Ready to deploy?