What's new?
- Context-based architecture. Now, React-PDF's components don't need to be direct descendants of
Document
component, which makes styling much easier (#124).
What's changed?
- React-PDF package and its subpackages now all build into
dist
directories instead ofbuild
directories. - Annotations stylesheet is not automatically imported anymore. If you'd like to support annotations, you'd need to import it yourself. I you would not, this means less configuration and easier to set up server-side rendering (#133, #140).
Bug fixes
- Fixes React-PDF requiring too high version of React (^16.2 instead of >=15.5).