I have a question for everyone.
I did a test with react + react-dom and preact + preact-compat using the same js file to generate a bundle using different frameworks. but the output of the react bundle with react-dom is very large, about 224kb. while the preact is 30.7kb, I find that a lot of difference. I do not know if there is any light version of react-dom or I need to do some optimization in the webpack. because it is a very big difference.
Has anyone seen this and talked about it?
output using Preact:

Same project using React:

thank you