Skip to main content

· 8 min read
Ifiok Jr.

The new version of remirror comes with a number of enhancements and quite a few breaking changes if you were using the remirror@1.0.0-next.* pre-releases.

The following sections outline the breaking changes and how they can be migrated if your last version was @next. For those upgrading from 0.11.0 the library has changed drastically and you'd be better off browsing the documentation.

· 6 min read
Ifiok Jr.

One of the goals of remirror@1.0.0 is to make consuming commands easier. Chainable commands was identified as one way in which this could be achieved.

commands
.insertText('Hello')
.capitalize({ from: 1, to: 6 })
.toggleBold()
.removeVowels()
.formatCodeBlocks()
.run();

Elegant as it may seem, implementing this posed some challenges.