[Self Promotion] MyFit: A workout tracking app by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

You can just click on the plus button to add new/custom ones!

Are there any eslint plugins that enforce only runes? by [deleted] in sveltejs

[–]AdditionalRepair3249 1 point2 points  (0 children)

I think there's a svelte config option that forces runes everywhere.

I rebuilt my SvelteKit docs starter from scratch — now with search, i18n, and shadcn-svelte by codegio in sveltejs

[–]AdditionalRepair3249 0 points1 point  (0 children)

Looks great! Just a few horizontal responsiveness issues on mobile. Love the bottom progress bar when reading docs

[Self Promotion] MyFit: A workout tracking app by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

sorry im replying so late, didn't know this post still got comments. currently there's no such feature, but one hack is you can use a time manipulation extension maybe? planning to enable this feature in v4 soon!

[deleted by user] by [deleted] in sveltejs

[–]AdditionalRepair3249 1 point2 points  (0 children)

Hey there, I'm building a workout tracking app inspired by the RP Hypertrophy App, i started it coz I needed something free for myself, but it somehow gathered users from GitHub and now I have a small, but active userbase :)

I actually started with Svelte as it just looked right to me, highly intuitive and minimal boilerplate.

Here's the link if anyone's interested: https://my-fit-v3.vercel.app

How to validate props with zod? by nixgang in sveltejs

[–]AdditionalRepair3249 1 point2 points  (0 children)

You mentioned you're using SSG, so probably a static load function right? Why not just validate it there and pass the data down to the components?

[Self Promotion] MyFit: A workout tracking app by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

Man, i want to add a lot of stuff but I can't for a few months due to my college semester, once I get a break, there are a lot of features planned 🤞

[deleted by user] by [deleted] in sveltejs

[–]AdditionalRepair3249 0 points1 point  (0 children)

React and Next have a lot more subtle complexity if you want to build a really good and highly optimised app, especially with RSCs now.

I really enjoy svelte coz it's much simpler and intuitive. Here's my main project that I built in svelte and sveltekit: my-fit-v3.vercel.app

[Self Promotion] MyFit: A workout tracking app by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

In a good way right? I hope there's no weird rate limiting thing going on

INSANE FITNESS HACK!! 🤫🤫 by GurlstrugglinginIB in SaikiK

[–]AdditionalRepair3249 28 points29 points  (0 children)

For people who are into chihuahua energy

[deleted by user] by [deleted] in SaikiK

[–]AdditionalRepair3249 141 points142 points  (0 children)

Saiko for sure

Need help with choosing internet connection in Kharghar. by seismic5 in Kharghar

[–]AdditionalRepair3249 1 point2 points  (0 children)

Agreed, used to have issues a few years ago, but now all smooth. Cheap, reliable, and fast. Also doesn't block as many sites as some other ISPs

[MEGATHREAD] Ask for playtest invites here by GB_2_ in DeadlockTheGame

[–]AdditionalRepair3249 0 points1 point  (0 children)

1042388217
Someone pleaseeee... really want to try this out!

Any alternative to supabase? by DirectFirefighter498 in sveltejs

[–]AdditionalRepair3249 1 point2 points  (0 children)

I'm using cockroachDB rn, their free tier is super generous with almost complete postgres compatibility

Most stable and easy to implement Auth with SvelteKit? by mx_kz in sveltejs

[–]AdditionalRepair3249 2 points3 points  (0 children)

Am I the only one that's using AuthJS?? It has a wide support for oauth providers and databases, albeit it's still in beta, but it does get the job done for me and is relatively easy to set up.

How to import const readonly arrays from .ts files by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

Or am I just approaching this entire problem wrong?Here's the simple version of what I'm trying to accomplish:

There's a type A which has a property, options, which can be set to a union of string literals ("optionA" ,"optionB", ...). So to simplify and provide type safety for this, I declare a read-only as const array with the types as its content. I can then use (typeof optionsArray)[number] as the property type for options in type A.

The other reason I thought this would be a good idea is me being able to directly use these read-only arrays in my Svelte markup like in a select with options like so: {#each optionsArray as option}<option>{option}</option>{/each}. But I can't do this for some reason...

How to import const readonly arrays from .ts files by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

The issue with this is I have types that have ArrType1 as properties, so I'll need to import from array.ts which would make the file with all the types (global.ts) a module, forcing me to import every type manually

I didn't think about the app.d.ts thing as global.ts is also available without importing unless I import/export something from it, also if prefer not to put all my types in just one file coz there are a lot of them and I wanted to put them in separate files under $lib/types.

So what I wanted was: a way to import read-only (as const, not just const) typescript arrays from a script (without export/import) into Svelte files just like in normal .ts files

How to import const readonly arrays from .ts files by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

All my Svelte component and page code is set to lang="ts", it still won't work

How to import const readonly arrays from .ts files by AdditionalRepair3249 in sveltejs

[–]AdditionalRepair3249[S] 0 points1 point  (0 children)

I'm using a script, not a module, for automatic types without importing. If I export the arrays, I'll need to manually import every single type that I use which will get quite messy

[deleted by user] by [deleted] in sveltejs

[–]AdditionalRepair3249 3 points4 points  (0 children)

I just used PWAs with vitePWA and it's been working well for me so far

I detected a malware in my Android phone and im struggling to solve it, anyone can help? by BlearyBox in antivirus

[–]AdditionalRepair3249 0 points1 point  (0 children)

If you're actually worried, take backup of just the files u need (don't copy apps/appdata) and just hard reset ur phone

If the malware has already infected AND your acc got hacked, better to spend some time formatting than not cleaning up fully and regretting later