World Congress 2025
July 11, 2025 ยท 15:40โ16:10
Stage 9
MVI: Minimum Viable Interface for React Components
Daniel Espino Garcia
Software Design Engineer at Mattermost
World Congress 2025
When it comes to bundle size, less really is more! But how do we ensure that our code can be effectively tree-shaken and minimised?
There are common code patterns that break tree-shaking and prevent minification from doing much at all. Let me share practical insights from my experience optimising a component library that will help you do the same and shed the excess from your bundles.
The talk is split into 2 halves: tree-shaking / minification.
Will explain tree-shaking then show coding patterns that prevent the bundler from being able to drop code. Will then cover sideEffects / pure code annotations. Then how to test tree shaking is working and demo source-map-explorer.
Then will cover minification and how to optimise what the bundler can minify. #private variables unlock great savings but there are issues with downleveling for older build targets.
The talk finishes with a quick overview of different build tools and the speed / size trade off.
World Congress 2025
July 11, 2025 ยท 15:40โ16:10
Stage 9
Daniel Espino Garcia
Software Design Engineer at Mattermost
World Congress 2025
July 11, 2025 ยท 13:00โ13:30
Stage 10
Mohamed Gamal
Mobile Staff Engineer at SumUp
World Congress 2025
July 10, 2025 ยท 10:50โ11:20
Stage 5
Hammad Hassan
Software Engineer (I love things related to JS/TS and ML stack)
World Congress 2025
July 10, 2025 ยท 15:30โ16:00
Stage 10
Lucas Braeschke, Stefan Bley