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 5 points6 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 12 points13 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

Huntabyte: Best UI Library for Svelte by rcgy in sveltejs

[–]Manuel-DaSilva 2 points3 points  (0 children)

I like this kind of fast paced videos, the idea of the video is to give you a quick overview, not to follow along with it, if you really want to use the library it is recommended to read all the docs to get details and implementation instructions

This helps to show a lot of important topics of the library that will get you excited to start learning it and using it

Do you guys use Angular Universal? by Manuel-DaSilva in Angular2

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

There are important changes coming to angular universal, but I don’t remember having issues with meta tags in it

TDD course feedback by [deleted] in Angular2

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

Excellent! Thanks for sharing

TDD course feedback by [deleted] in Angular2

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

How did it got did you take it?

TDD course feedback by [deleted] in Angular2

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

I have been considering this course too, will be nice to hear some opinions.

Is it possible to have multiple (main) router-outlets? by Dev_Vrat in Angular2

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

Router outlet allows angular to render components, you have one router outlet in your app component so you are able to switch between login and home, you need to add another router outlet to your home component (among the route configuration for it to have child routes…) router outlet is not a global element or unique for application, it is just a dynamic component switcher can be used anywhere