The conflict caused by CF7 v5.4 is two fold.
One, if your caching plugin is deferring JavaScript then it breaks CF7. If you have WP-Rocket they have issued a fix for the conflict. The WP-Rocket fix can be replicated in other caching plugins by excluding the deferral of this JavaScript script. If you’re not using a caching plugin there are other plugins or hosting systems that may implementthe deferring JavaScript.
/wp-includes/js/dist/(.*).js
But even with this fix in WP-Rocket or another caching program, CF7 forms will fail after 24 hours due to the author’s use of nonces (security tokens). The only way to workaround the problem is to refresh your page cache every 24-hours or uncache the page.
I don’t consider this a solution, just a workaround due to the performance implications. Both fixes will degrade performance and hurt SEO.