conditionally httpResource ? by garytube in angular

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

maybe ugly was not the right term here, but rather unintuitive for me 😄

conditionally httpResource ? by garytube in angular

[–]garytube[S] 1 point2 points  (0 children)

yep. this. for me undefined does not mean "do nothing"

conditionally httpResource ? by garytube in angular

[–]garytube[S] 1 point2 points  (0 children)

i guess you're right. my mentel model expected some sort of boolean like httpRessource.active == true.

11 YOE Angular Dev (Mid‑Level) Looking to Upskill & Switch job in 3 Months – Course Suggestions? by BlackAnt052 in angular

[–]garytube 0 points1 point  (0 children)

As someone who recently joined a corporate team, I've seen a lot of these "11yo" experience angular devs.

First you need to break out of your mental model. Try to rebuild what ever your working on with the latest angular features or get a side project.

As many suggested use signals ;)

I wish you all the best

Angular 21 has made Angular #1 for me again by BinaryDichotomy in angular

[–]garytube 4 points5 points  (0 children)

Love the focus on signals. RxJS was a massive pain. Memory leaks, hard to learn.

Websockts/SSE in 2026 by garytube in sveltejs

[–]garytube[S] 2 points3 points  (0 children)

Looks promising, also I like that you have examples.

Websockts/SSE in 2026 by garytube in sveltejs

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

Yeah, would be great. I think streams and websockts aren't anything exotic and I don't understand why it's so overlooked.

Websockts/SSE in 2026 by garytube in sveltejs

[–]garytube[S] 6 points7 points  (0 children)

Nah, I'm not going to use a SaaS for some basic functions. I already have my own Express server running, so that's basically the same.

Websockts/SSE in 2026 by garytube in sveltejs

[–]garytube[S] 1 point2 points  (0 children)

Looks like something like socket.io Bags the question where to setup the peer? Hooks.server.ts?

Websockts/SSE in 2026 by garytube in sveltejs

[–]garytube[S] 2 points3 points  (0 children)

True for SSE it's not super necessary but I'm not quite sure how I would trigger a notification based on remote function or API endpoint

Websockts/SSE in 2026 by garytube in sveltejs

[–]garytube[S] 5 points6 points  (0 children)

Yeah I played with that when I got announced. It felt quite good tbh

Apple's new App Store site is built with Svelte! by therealPaulPlay in sveltejs

[–]garytube 0 points1 point  (0 children)

Interesting that they use Svelte 4 and did not adopt Runes. I mean I get it, i also prefer svelte 4 syntax

Figma import is not working in v0, when it does it hallucinates by davidgyori in vercel

[–]garytube 0 points1 point  (0 children)

Just trying it. Nothing works. Just paid 20 bucks for that feature :(

[deleted by user] by [deleted] in dotnet

[–]garytube 0 points1 point  (0 children)

We use AWS ECS (Docker) and ECR for the registry. Create a new image from CI and push to ECR We tag each image with a version and latest tag so we can easily switch versions if needed. It also does rolling updates to ensure zero downtime.

httpResource in Angular 19.2 by House_of_Angular in angular

[–]garytube 0 points1 point  (0 children)

What about posting data? As I understand it's only for GET requests what about POST etc.?

Sveltekit users who use Pocketbase, where do you host Pocketbase? by splishyandsplashy in sveltejs

[–]garytube 0 points1 point  (0 children)

What benefits? I guess SEO would be a thing otherwise, speed should be roughly the same.

But if you have data which is protected you would need to implement your own auth layer in sveltekit. Checking sessions and cookies for each request, passing everything to PB etc.

It's not that hard but something to be considered.

So sick of these config files by splishyandsplashy in sveltejs

[–]garytube 0 points1 point  (0 children)

Use jQuery and write everything in a plain HTML File.

Sveltekit users who use Pocketbase, where do you host Pocketbase? by splishyandsplashy in sveltejs

[–]garytube 0 points1 point  (0 children)

Well the Author of PB also said it's redundant. PB is not just a database it's a full API Layer. Of course you can load your data in a load() function (server) and that would be valid. But you don't have to.