<summary>How can I change the internal webpack configs?</summary>
<p>Next.js tries its best to remove the overhead of webpack configurations, but for advanced cases where more control is needed, refer to the <ahref="/docs/api-reference/next.config.js/custom-webpack-config.md">custom webpack config documentation</a>.</p>
</details>
<details>
<summary>What syntactic features are compiled? How do I change them?</summary>
<p>We track V8. Since V8 has wide support for ES6 and async and await, we compile those. Since V8 doesn’t support class decorators, we don’t compile those.</p>
<p>See the documentation about <ahref="/docs/advanced-features/customizing-babel-config.md">customizing babel config</a> for more information.</p>
</details>
<details>
<summary>Why a new Router?</summary>
Next.js is special in that:
<ul>
<li>Routes don’t need to be known ahead of time, We don't ship a route manifest</li>
<p>It's up to you. You can use the <ahref="https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch">fetch API</a> or <ahref="https://swr.now.sh/">SWR</a> inside your React components for remote data fetching; or use our <ahref="/docs/basic-features/data-fetching.md">data fetching methods</a> for initial data population.</p>
<p>Yes! Here's an <ahref="https://github.com/vercel/next.js/tree/canary/examples/with-redux">example</a>. And there's another <ahref="https://github.com/vercel/next.js/tree/canary/examples/with-redux-thunk">example with thunk</a>.</p>
<p>Since our first release we've had many example contributions. You can check them out in the <ahref="https://github.com/vercel/next.js/tree/canary/examples">examples</a> directory.</p>
<p>Many of the goals we set out to accomplish were the ones listed in The <ahref="https://rauchg.com/2014/7-principles-of-rich-web-applications">7 principles of Rich Web Applications</a> by Guillermo Rauch.</p>
<p>The ease-of-use of PHP is a great inspiration. We feel Next.js is a suitable replacement for many scenarios where you would otherwise use PHP to output HTML.</p>
<p>Unlike PHP, we benefit from the ES6 module system and every page exports a component or function that can be easily imported for lazy evaluation or testing.</p>
<p>As we were researching options for server-rendering React that didn’t involve a large number of steps, we came across <ahref="https://github.com/facebookarchive/react-page">react-page</a> (now deprecated), a similar approach to Next.js by the creator of React Jordan Walke.</p>