Skip to content
Pre-release
Pre-release

@mjackson mjackson released this Oct 14, 2018 · 305 commits to master since this release

Getting closer to 4.4 final! We've received some great feedback during the past few weeks on the 4.4 beta. Please keep it coming :)

Features

  • Both our CJS and ESM builds now use Rollup, which means they are smaller and should be easier to consume. Requiring individual files (e.g. require('react-router/Route')) from any of our packages is no longer supported.
  • We now provide a pre-built production-ready CJS and ESM builds instead of requiring consumers to build it themselves.

Fixes

  • Eliminate all warnings when using the router under React 16's <StrictMode>. In fact, we now wrap all our tests in <StrictMode>!
  • Don't leak memory when a <Router> is rendered server side (introduced in a previous 4.4 beta).

Enjoy! 😅

Assets 2