You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some breaking changes you'll need to be aware of when upgrading to v6. These are mostly related to us upgrading our dependency on [nhsuk-frontend to v10](https://github.com/nhsuk/nhsuk-frontend/releases/tag/v10.0.0) which also includes breaking changes.
4
+
5
+
## Breaking changes
6
+
7
+
### Update the JavaScript supported script snippet
8
+
9
+
For NHS.UK React components v4.x we recommended `<body class="js-enabled">` to enable styling for JavaScript only features.
10
+
11
+
You must now use the NHS.UK frontend v10.x feature detection snippet to detect `<script type="module">` support:
0 commit comments