I figured out how to replace React with Preact in Scittle apps to save 200kb (40kb gzipped saved). This took a bit of messing about so hopefully it saves some time for others. Basically you replace the React requires with:
<script src=""></script>
<script>
window.React = preact;
window.ReactDOM = preact;
</script> Amazing that it works
JavaScript 🤷