dev-resources.site
for different kinds of informations.
My Journey with Svelte: From Vue to Svelte and the Joy of Pure JS Libraries
I apologize for my absence over the past few days. I've been incredibly busy, but I'm back with an exciting story to share.
When I first started developing this web application, I utilized the Golang Gin framework and Vue 3. I have no significant complaints about Gin, but Gofiber is faster, and I prefer to minimize expenses for long-term sustainability. Building a successful startup is a daunting task, and every cent counts.
Regarding the frontend, I've been a Vue user for several years and naturally gravitated towards Vue 3. I appreciate its improved composition API, which makes it even more user-friendly. However, as the project grew, I faced challenges integrating external JS libraries due to the scarcity of Vue ports. I was reluctant to create my own ports due to time constraints, and using my own functions felt inadequate.
I had previously heard about Svelte and had even worked with it on a project during the Sapper era. I decided to revisit Svelte and installed SvelteKit and Svelte 3. Surprisingly, I grasped it quickly. Defining props is unnecessary; instead, you simply
export let someprop
. Similarly, declaring computed properties is straightforward, using
$:
Everything is truly intuitive and effortless.
The most significant advantage of Svelte is its ease of incorporating pure JS libraries.
While you can use
onMount
for this purpose, my preferred method is leveraging actions and easily integrating them using
use:someaction
.
For the next post, I'll delve into the business side of my journey, including my current efforts to secure investors and partners. I'm also eager to learn about effective methods, websites, and forums for attracting sponsors and partners.
Please share any insights or recommendations you may have regarding finding investors and partners. I appreciate your support and look forward to your feedback.
Featured ones: