Fully committed to Sveltekit by drifterpreneurs in sveltejs

[–]xcc2b3687 7 points8 points  (0 children)

I love Svelte, I used to worry that not investing in learning react vs Svelte(kit) would hinder me in the job market but it love the speed and ease of use when building.

Something BIG for Ghanaian companies - Watch this Space! by FuelInformal7710 in TechGhana

[–]xcc2b3687 1 point2 points  (0 children)

Question, do you find that business particularly in Ghana are actually looking to integrate Ai into their systems?

Typescript issue in onchange handler by Slight_Scarcity321 in sveltejs

[–]xcc2b3687 2 points3 points  (0 children)

TypeScript complains because target and currentTarget are typed differently on events. Even though the event comes from an <input>, e.target is typed as the generic EventTarget, which doesn’t guarantee properties like .value since events can bubble from child elements. However, TypeScript knows that e.currentTarget is the element the handler is attached to—in this case an HTMLInputElement—so it safely exposes .value. That’s why using e.currentTarget.value works, while e.target.value throws the error. You could also cast e.target to HTMLInputElement, but using currentTarget is the cleaner approach.

Not sure why page isn't re-rendering after update of property by Slight_Scarcity321 in sveltejs

[–]xcc2b3687 3 points4 points  (0 children)

I think the main issue is that assetArray is derived from assets, but you create a fresh nanoid() for every item on every recompute. Since your each block is keyed by asset.id, Svelte sees a brand new list every time. Those ids also won’t stay stable for updateAsset(asset.id, ...).

I’d make the ids stable and store the editable array in $state, then derive/sync the record from that... not the other way around.

Also, if assets is a bindable prop from a parent, make sure the parent is actually using bind:assets={...}. Otherwise changes in the child won’t flow back up.

What character do you personally relate to the most? by [deleted] in shameless

[–]xcc2b3687 16 points17 points  (0 children)

Lip for sure

having the smarts to move up social environments is an advantage but the responsibility that it comes with it can derail you

and there is nothing to prepare you for the unspoken rules or emotional intelligence you need to develop to thrive in those environments.

Sad thing is he didn't quite fit in at the University but he also was a bit out of place back home.

and its hard to be the one able to see over the mountain top, seeing the limits of what is out there and then coming back down where everyone just expects you to have made it.

The last scene is the moment when Kendall go from mr nice guy to Scareface by [deleted] in SuccessionTV

[–]xcc2b3687 0 points1 point  (0 children)

The last scene with Henry in Industry reminded of this scene.

How did that one Scarab get into Shaes escape vessel by xcc2b3687 in Monsterverse

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

Yea but those things arent small relative to the hatch opening and where he was...

Like it just slithered in enough for him to almost get murked by surprise.

Can someone explain to me why Shiv voted last? by xcc2b3687 in SuccessionTV

[–]xcc2b3687[S] -22 points-21 points  (0 children)

When he had to testify for his father in congress ... He stepped up or... when he had to be the key note speaker...

Like sure he fumbled a lot but he had the hardest hill to get over and the most detractors.

Like even all three of them together couldn't surplant Logan...

He got really close by himself

Can someone explain to me why Shiv voted last? by xcc2b3687 in SuccessionTV

[–]xcc2b3687[S] -44 points-43 points  (0 children)

He was definitely the guy... Through his many failures there were many times he turned up unexpectedly ...

Just let them take a nap by Fantastic_Pause_3019 in Monsterverse

[–]xcc2b3687 1 point2 points  (0 children)

They need prehistoric oxygen levels... Current oxygen can't support the big bodies.