Since WordPress 5.9, if using non-Toolset blocks (including core blocks) with dynamic sources in templates, Views, or custom archives, errors are thrown and it may not be possible to edit the page.
In the browser console errors such as the following may appear:
Uncaught TypeError: Cannot assign to read only property 'className' of object '#Object' ... react-dom.js?ver=17.0.1:20115 The above error occurred in the
component: ... Consider adding an error boundary to your tree to customize error handling behavior.