Added
- Support for server side rendering (SSR) with passing integration tests for NextJS.
- Support for plain extension with styles impacting SSR (PlaceholderExtension can be rendered in SSR).
remirror/core
:ssrTransformer
added to extension methods as a way of wrapping and transforming the JSX element produced on the server.remirror/core
:SSRComponent: React.ComponentType<any>
option added toMarkExtensionOptions
andNodeExtensionOptions
as a way of overriding the component rendered in an SSR environment.remirror/core
:SSRHelpersExtension
added as a shorthand way of defining SSR transformations via ssrTransformer.remirror/core
:injectBrIntoEmptyParagraphs
added for better SSR rendering.remirror/react-utils
:isReactFragment
added to test if an element is a fragment.- Create better unit tests for SSR.
- Add a changelog with changes starting from
v0.1.0
Changed
- BREAKING: Rename
@remirror/ui-*
packages to@remirror/editor-*
for example @remirror/ui-twitter is .now called@remirror/editor-twitter
. - BREAKING
remirror/editor-twitter
: RenameUITwitter
andTwitterUI
toTwitterEditor
- BREAKING
remirror/editor-markdown
: RenameUIMarkdown
andMarkdownUI
toMarkdownEditor
- BREAKING
remirror/editor-wysiwyg
: RenameUIWysiwyg
andWysiwygUI
toWysiwygEditor
- Speed up tslint by enforcing linting on individual modules (new
tsconfig.lint.json
files). - Remove
cx
import fromemotion
library in from@remirror/core
to reduce the bundle size. - Set
@emotion/core
and@emotion/styled
as peer dependencies.
Remove
- BREAKING:
@remirror/ui-*
packages.