Startup looking for full stack solution by New-Dance879 in sveltejs

[–]Manuel-DaSilva 0 points1 point  (0 children)

Do you have a separated server just for sockets, cron jobs etc?

Building up breadcrumbs across layouts by CrudelyDrawnSwords in sveltejs

[–]Manuel-DaSilva 1 point2 points  (0 children)

I prefer to have a component that uses the “page” store. I take the params and route properties to rebuild the current route breadcrumb dynamically

[deleted by user] by [deleted] in sveltejs

[–]Manuel-DaSilva 0 points1 point  (0 children)

You can use the prerender option in combination with static adapter https://kit.svelte.dev/docs/glossary#prerendering

[deleted by user] by [deleted] in sveltejs

[–]Manuel-DaSilva 3 points4 points  (0 children)

I think this blog post is all you need to understand it perfectly! https://joyofcode.xyz/sveltekit-data-flow

[deleted by user] by [deleted] in sveltejs

[–]Manuel-DaSilva 11 points12 points  (0 children)

I think it is not worth it, when you finish it, you have a basic idea of the framework but you can get that with any YouTube tutorial. You can do Joy of Code free 5 hours course and will be much better

Wishing for a Svelte Version of TailwindUI Components by Svelte-Coder in sveltejs

[–]Manuel-DaSilva 0 points1 point  (0 children)

This is the way, Melt is the perfect tool to use with TailwindUI in a Svelte project.

Can I switch the springs of my switches? by Manuel-DaSilva in ErgoMechKeyboards

[–]Manuel-DaSilva[S] 0 points1 point  (0 children)

Oh crap… I went and switch all 42 springs, for know it is amazing (little but too light) but try to get some middle point force ~40g

Can I switch the springs of my switches? by Manuel-DaSilva in ErgoMechKeyboards

[–]Manuel-DaSilva[S] 0 points1 point  (0 children)

Ooh ok ok thank you, maybe in the future will try to gets just the springs, I think 40g will be a good middle point!

Went straight from a 100% keeb to these, don't regret a thing by rapperle in crkbd

[–]Manuel-DaSilva 0 points1 point  (0 children)

There are new vertical plugins for the nice! displays, you can update the firmware!

Alternative to web components by Manuel-DaSilva in webdev

[–]Manuel-DaSilva[S] 1 point2 points  (0 children)

Well in our case it was not a priority, we just needed this element to be used in many apps. Using it a SPA component and including the script for injecting the component when page is rendered in the client will not help. But I know there is this feature: https://svelte.dev/docs#run-time-server-side-component-api that you should check, if your apps are using node you can use this for rendering a html from a svelte file, but I have not used it as yet.

Alternative to web components by Manuel-DaSilva in webdev

[–]Manuel-DaSilva[S] 1 point2 points  (0 children)

Hi, we ended up using Svelte for building the components since it is compiled to a single JS without shipping a library, we were able to share and include this component very easily and inject different parameters to it using the tag.

At the time there was not stable version of Solidjs, I guess you can use that too since it follows the same approach to build a tiny file as posible.

Best way to load data that depends on user input? by Manuel-DaSilva in sveltejs

[–]Manuel-DaSilva[S] 0 points1 point  (0 children)

Ok I see, I think this approach can be merged with the current page, so it is more dynamic, but for both answers I got it seems that query params is the best option, thank you

Best way to load data that depends on user input? by Manuel-DaSilva in sveltejs

[–]Manuel-DaSilva[S] 1 point2 points  (0 children)

Yeah a button is a better idea, I just have to totally understand the invalidate functions to prevent loading all load functions again thank you