What's new?
- Added support for new
renderMode
:"custom"
. When set, you can pass custom renderer function tocustomRenderer
prop (#1408). - Improved RSC compatibility. You no longer need to add
'use client';
to the parent component for this component to work.
What's changed?
- Improved documentation not to suggest using inline object as
options
prop value (#1567). - Added guidelines for installation in Next.js app (#1508).
Bug fixes
@types/react
and@types/react-dom
are now optional peerDependencies, which eliminates errors caused by duplicate typings.