- Support for React 16, using
ReactDOM.createPortal
if it's available.
- Ensure npm publication of
dist/
.
- Add
WrappedComponent
static property.
- Introduce
dist/displace.js
, wheresrc/
now compiles to, since React 15.5+ demandsclass
es, so Babel-compilation. Which is actually a huge overhaul, though in semver it's just a patch.
- Allow React 15 as peer dependency.
- Clean up anonymous container
<div>
when unmounting.
- Move
react
andreact-dom
topeerDependencies
.
- Allow React
context
to pass to displaced element.
- Move container creation into
componentWillMount()
.
- Upgrade to React 0.14 and its companion ReactDOM.
- Try to deal with possible lack of
document
in server-side React.
- Initial release.