DEV Community

Devin Shoemaker
Devin Shoemaker

Posted on • Originally published at nxtend.dev

1

Release @nxtend/ionic-react 4.0.0

Nxtend Ionic React v4 includes typical quality of life fixes with dependency updates, but has some breaking changes to the API. These changes will improve the maintainability of this project and will help prepare the plugin for future capabilities. For more details on these changes, read below.

Features

  • update Ionic to 5.4.1
  • add ionic.config.json to application
  • update starter template

BREAKING CHANGES

  • don't install and configure Cypress Testing Library
  • removed disableSanitizer flag from application schematic

One of the major changes of this release is that @nxtend/ionic-react will no longer add and configure Cypress Testing Library dependencies. We are big fans of the project, but maintaining the dependencies and breaking changes has become more effort than it's worth for this plugin. If you are generating a new project then I would highly recommend you configure this yourself. If you need help getting started, then please visit the official documentation.

The latest updates from the Ionic React blank starter template have also been added to the plugin.

The disableSanitizer flag has been removed from the application schematic. This plugin supports many permutations due to the amount of configuration options when generating an application, and as many of these permutations are end-to-end testing as much as possible. Every new option that is added increases the level of maintenance required as well as the test times, and at this point, it does not seem worth it to continue supporting the disableSanitizer flag. The built-in Ionic sanitizer should only be disabled unless it explicitely needs to, and this process is well documented in the official Ionic documentation.

Nxtend Capacitor has also been updated, so it is recommended you update that plugin as well.

For information on upgrading the plugin, visit the nxtend upgrades documentation.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay