|
|
|
|
|
by untog
3634 days ago
|
|
I'm not so sure I agree there. Not that React isn't fantastic, but I remember a recent release adding support for SVG elements. If I don't use any, it would be great to strip out that functionality - React is not a small library. Alternatives like Preact show that you can have a core set of functionality at a much smaller size. With the prevalence of npm and mini-libraries I'd be interested to see if the size of React could be cut down and put into optional components. |
|
It's not a magic bullet, but it can go a long way in helping remove a ton of unused-for-your-use-case code in your production build.