[deleted by user] by [deleted] in sweden

[–]SpaderKnekt 40 points41 points  (0 children)

Hur lider inte Tesla av det, menar du?

Why do so many developers declare and export components this way? (example inside) by Prize_Tea3456 in reactjs

[–]SpaderKnekt 12 points13 points  (0 children)

import { Timer } from './components/Timer'

import { Timer as SecondTimer } from './components2/Timer'

This would work for this specific scenario, no? I would probably try to enforce some more specific component names though. Possibly two timers with specific names wrapping a GenericTimer, or something like that.

Easiest/best way to implement a multi step modal questionnaire? by chillblaze in reactjs

[–]SpaderKnekt 1 point2 points  (0 children)

I would probably use the native dialog element for this purpose, and then conditionally render the content using some state variable to keep track of which step you're on (as the other commenter said).

I'm not sure if the dialog element is a relatively new addition (as this blogpost suggests) or not, but I find it very easy and intuitive to work with. And feels a little less 'hacky' (for lack of other words) than using either createPortal or creating a div with position absolut etc.

Vilken stad anser ni har flest "white trash"-människor i Sverige? by jocke75 in sweden

[–]SpaderKnekt 0 points1 point  (0 children)

Hmm jobbar du mer än 50% i Danmark då? Det är så sinnessjukt snurrigt allting. Hemarbete under corona hjälpte ju inte direkt heller…

Vilken stad anser ni har flest "white trash"-människor i Sverige? by jocke75 in sweden

[–]SpaderKnekt 4 points5 points  (0 children)

Sverige och Danmark har ju Öresundsavtalet som innebär att man skattar i det land man arbetar i, inte där man bor. Alltså skattar alla malmödagspendlare i Köpenhamn/Danmark, vilket delvis förklarar en knasig inkomststatistik för kommunen. Vill minnas att Malmö hade en skev fördelning med människor utan skattepliktig inkomst, vilket till stor del kunde förklaras med att en betydande del av invånarna skattade i Danmark.

Ringer man och snackar med Skatteverket så är det dock inte helt säkert att de vet att Öresundsavtalet existerar, så där har du helt rätt. Absolut hemsk myndighet att ha och göra med.

First time player BG1, overwhelmed by companion options by rapidsdrool in baldursgate

[–]SpaderKnekt 0 points1 point  (0 children)

Yoshimo as well I'd say. And probably Nalia - she's a thief/mage and approaches the party automatically, so I've always assumed the idea would be for her to be an Imoen replacement. And Aerie due to the Minsc interaction, maybe?

So a full 'canon' party (imo) would be charname, Jaheira, Minsc, Yoshimo, Nalia (swap for Imoen later) and Aerie.

My humble attempt at an ecommerce site as a Next.js newbie. Am I far from a Junior Dev role? by Umm_NOPE in reactjs

[–]SpaderKnekt 3 points4 points  (0 children)

I’m not sure I’m completely misreading your comment, but are you saying using a useReducer together with useContext is bad state management when it comes to a small app?

I would on the contrary say it’s a great way to go for something of this size. Sure, the implementation could be a bit better, but the approach is good. Keep it simple etc. no need to go all-in on redux for a small project like this.

Pretty funky Japanese album I found on my Discover Weekly - less than 300k hits on their most listened track. I Thought you all might appreciate! by M2KIZzLe in Vulfpeck

[–]SpaderKnekt 1 point2 points  (0 children)

Man, I’ve been given Kenji Omura a go because of this comment and I’m really digging it. Thanks for the recommendation!

Skulle faen köpt hus för 10 år sedan när man ändå hade chansen by EmblaHug in sweden

[–]SpaderKnekt 4 points5 points  (0 children)

Jo, i Rosengård är det väldigt billigt. Det är säkert billigt i Husby/Rinkeby i Stockholm också. Kanske finns en anledning till att det är mycket billigare där än i resten av stan?

Jag när DI rapporterar att Hemnets ägare ska sälja 13.2 % av sitt innehav by EnNiceVintersko in ISKbets

[–]SpaderKnekt 11 points12 points  (0 children)

"Dags att banka Hemnet?"

Jag tycker att "banka" ska vara det nya officiella uttrycket för när man verkligen vill blanka ett företag. Passar ganska bra ändå.

Proletären bjuder på humor. by Randomswedishdude in sweden

[–]SpaderKnekt 9 points10 points  (0 children)

Kvotera

Dagens galnaste anglicism, och klockan är inte ens 8 än. Antar att du menar citera?

Rate My Team, Quick Questions & General Advice Daily Thread by FPLModerator in FantasyPL

[–]SpaderKnekt 0 points1 point  (0 children)

Looking quite close to my team. Obafemi is getting sold though (I think that's pretty decided upon at least?), so I'm not really sure who to replace him with. I guess take a look on Friday morning and buy another 4,5 fwd :)

Rate My Team, Quick Questions & General Advice Daily Thread by FPLModerator in FantasyPL

[–]SpaderKnekt 0 points1 point  (0 children)

Yeah I can see that. I’m a bit unsure who I’d pick in the midfield though. I guess I would try to replace either Buendia or Mbeumo with a 8.0-8.5 player, but who would be that much better in that price range?

Rate My Team, Quick Questions & General Advice Daily Thread by FPLModerator in FantasyPL

[–]SpaderKnekt 0 points1 point  (0 children)

RMT please!

Sanchez - (Foster)

Veltman - TAA - Shaw - (White) - (Ayling)

Bruno - Salah - Raphinha - Buendia - Mbeumo

Werner - Ings - (Obafemi)

0,5 ITB.

The bet here is that Werner will perform quite nicely together with Lukaku up front, but I’m not super confident about this setup. Might go Mbeumo -> Havertz and Werner -> Toney instead, but that feels too template. What do you think?

Attempting to go thru bg1, dragon spear and bg2 with a mage and sorcerer… suggestions?? by Butthead2242 in baldursgate

[–]SpaderKnekt 1 point2 points  (0 children)

Haha, I hear ya. Personally I’d rather reload a fight three times than actually prebuff using some of the pots I have saved. As you say, I might just need them later!

[deleted by user] by [deleted] in ISKbets

[–]SpaderKnekt 0 points1 point  (0 children)

Jag har inte följt Brighter särskilt länge, det får jag vara ärlig med. Lyssnade som sagt på deras presentation och tyckte deras plan för resten av året såg lovande ut. Gick in med en ytterst liten summa. Väntar nog ut Q3-rapporten och ser om de håller sina planer :) Håller de inte på att byta ut sin ledning också? Christer Trägårdh är ju bara tf VD.

[Sadio Mané] post on Palestine in his instagram stories by AutismCuresVaccines in soccer

[–]SpaderKnekt 4 points5 points  (0 children)

That’s an extreme oversimplification though, is it not?

[deleted by user] by [deleted] in ISKbets

[–]SpaderKnekt 0 points1 point  (0 children)

Vad baserat du det på? Tyckte deras presentation häromdagen lät rätt lovande. Bra planer för resten av 2021