-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build and Layout investigation #120
Comments
Migration Analysis & StrategyOverviewThe migration from Handlebars to Svelte focuses on automated conversion with zero downtime. Our approach leverages parallel systems and feature toggles, allowing gradual migration with minimal risk. The strategy prioritizes business continuity while modernizing our template system. Compatibility PatternA visual representation of how much of our current system can be automatically migrated to each framework option.
Migration Path EffortComparison of effort required for each framework option, highlighting Svelte's advantages in automated conversion and parallel running systems.
Automation PotentialOverview of how Handlebars syntax patterns can be automatically converted to Svelte, demonstrating the straightforward mapping between the two systems.
Migration Script ConceptA systematic approach to automating the conversion process while identifying areas requiring manual attention.
Key Benefits:
|
|
Vite + Svelte: Development ExperienceHot Module Replacement (HMR)Current ProcessWhen a developer makes a change:
With Vite + SvelteWhen a developer makes a change:
Build PerformanceDevelopment Build Times
Production Build Times
The impact? A developer making 50 changes per day saves:
This isn't just about faster builds - it's about maintaining developer flow state and eliminating the micro-frustrations that kill productivity. |
I'm curious about automatically converting templates, both how that works and how you figured out the number that can be converted automatically. Another thing I was wondering about was our handlebars helper functions - are there equivalents or is that something we'd also transition over, or code around? |
@mattnolting Thanks for putting this together there's a lot of good details here. Do you mind putting up a PR with a svelte-handlebars-spike.md file containing the documentation you have above? I added a documentation folder called docs/spikes to this project where I thought we could put our spike results documentation? This way we all can leave feedback, have a discussion, and reviews around spikes. Thanks again. |
Description
As a developer we would like to know how the Svelte code is generated to HTML, and if it will fit our documentation needs.
To Do
Resources
Svelte Documentation
Vite Documentation
The text was updated successfully, but these errors were encountered: