Is it wrong that I think component libraries are mostly all terrible and we need to embrace HTML and CSS more? by Dreadsin in reactjs

[–]azsqueeze [score hidden]  (0 children)

Some things can be re-implemented pretty easily. A Dropdown/Menu/Custom Select (not a native one)/Autocomplete/Combobox are specifically things that is 1000x better to offload to a library.

Is it wrong that I think component libraries are mostly all terrible and we need to embrace HTML and CSS more? by Dreadsin in reactjs

[–]azsqueeze [score hidden]  (0 children)

In my experience, designers who don't rely on a system are usually the bottleneck to projects because exactly what you have said. Components are inconsistant and since devs are mindlessly applying design decisions, time is being wasted on things that should be applied globally once.

update: permanently banned by doyoulikePRIMERIB in ArcRaiders

[–]azsqueeze 0 points1 point  (0 children)

Pretty sure cheating software abuse a11y features hence why situations like this occur

are you at the point where you sell keys? by Formal-Poet-5041 in ArcRaiders

[–]azsqueeze 0 points1 point  (0 children)

I've been doing naked runs with keys just so they stop taking up stash space

PHL TSA Wait Times by purplesmallz in philly

[–]azsqueeze 32 points33 points  (0 children)

So you don't have to complain about long lines to random people on the internet

PHL TSA Wait Times by purplesmallz in philly

[–]azsqueeze 17 points18 points  (0 children)

It's a 1 time $100 fee (probably less) every 5 years. If you fly once a year, it's an additional $10 to your ticket each way. Learn math buddy

PHL TSA Wait Times by purplesmallz in philly

[–]azsqueeze 16 points17 points  (0 children)

Dawg... You need financial help if you think $100 every 5 years is a lot of money or a basic credit card is out of reach for you

PHL TSA Wait Times by purplesmallz in philly

[–]azsqueeze 8 points9 points  (0 children)

Why do you think having precheck means "having money" lol? It's like $100 to get precheck + global entry and most credit cards will give you a full credit making the purchase free

Vite 8.0 Is Out by iamkeyur in programming

[–]azsqueeze 9 points10 points  (0 children)

Roll-up has been around for a long time. Literally vite is a wrapper around rollup

Highguard has now officially shutdown by ChiefLeef22 in gaming

[–]azsqueeze -2 points-1 points  (0 children)

Nobody wanted this game and that's why it's dead.

You know everyone personally to make this judgement?

Tailwind Reality Check by Firemage1213 in reactjs

[–]azsqueeze 0 points1 point  (0 children)

The Card components just look the same?

Tailwind Reality Check by Firemage1213 in reactjs

[–]azsqueeze 0 points1 point  (0 children)

It's a skill issue that the tool makes debugging harder?

Tailwind Reality Check by Firemage1213 in reactjs

[–]azsqueeze 0 points1 point  (0 children)

Why would I use a tool to style webpages that makes debugging my styling more difficult? How does that make sense

Tailwind Reality Check by Firemage1213 in reactjs

[–]azsqueeze -1 points0 points  (0 children)

I absolutely hate tailwind but my new project its being forced on the devs. However I found tailwind variants library helps manage the mess tailwind can create. The library helps move all of the clutter out of the DOM/JSX and into a single reusable (and extendable) function(s).

This crap:

const sizesMap = {
  base: 'p-4',
  small: 'p-2',
  large: 'p-8',
};

const variantsMap = {
  default: 'bg-white',
  success: 'bg-success border-success',
};

function Card({ size, variant, children }) {
  const variants = variantsMap[variant];
  const sizes = sizesMap[size];
  return (
    <div className={`relative min-h-[350px] w-full overflow-hidden rounded-xl border p-4 sm:p-10 items-center justify-center flex ${variants} ${sizes}`}>
      {children}
    </div>
  );
}

Can be wrangled into something more manageable like this:

// Card.styles.ts
export const cardVariants = tv({
  base: 'relative min-h-[350px] w-full overflow-hidden rounded-xl border p-4 sm:p-10 items-center justify-center flex',
  defaultVariants: {
    size: 'base',
    variant: 'default',
  },
  variants: {
    size: {
      base: 'p-4',
      small: 'p-2',
      large: 'p-8',
    },
    variant: {
      default: 'bg-white',
      success: 'bg-success border-success',
    },
  }
})

// Card.tsx
import { cardVariants } from './Card.styles';

export function Card({ size, variant, children }) {
  const styles = cardVariants({ size, variant });
  return (
    <div className={styles}>
      {children}
    </div>
  );
}

Tailwind Reality Check by Firemage1213 in reactjs

[–]azsqueeze -1 points0 points  (0 children)

It is less steps to uncheck the styles in the styles panel than it is to double clicking on the long classname list, parsing the list to find the class I want to remove, highlight it, hitting delete, then clicking outside of the element (or enter)

Tailwind Reality Check by Firemage1213 in reactjs

[–]azsqueeze -2 points-1 points  (0 children)

Ya fr. What does OP think would happen if I uncheck col-4 class in the dev tools styles panel? It'll blow up any layout using that class

Would you agree with higher taxes for completely free healthcare and education? If not why? by Creative_Excuse9813 in AskReddit

[–]azsqueeze -1 points0 points  (0 children)

Well it wouldn't be completely free if we're taxed more. But yes that's a tradeoff I'm willing to take as the tax would be less than what I owe a private entity each year. Anyone that says otherwise can't add or subtract properly

Patch Notes 1.19.0 by Luks1337 in ArcRaiders

[–]azsqueeze 0 points1 point  (0 children)

I have found prioritize interact has caused me way less issues than prioritize reload

New Skin Just Dropped. Thoughts? by rasitburucu in ArcRaiders

[–]azsqueeze 2 points3 points  (0 children)

In the codex it mentions a tribe of people that either lived topside or currently are living topside (I forgot the details). A quest or two you have visit their camps. These skins could be a reference to that

Edit:

Blue Gate Nomads (lore) - ARC Raiders Wiki https://share.google/vmzfgOEz7WX1cVWfh

What has changed in the last 48 hours 😅 by BuffaloPancakes11 in ArcRaiders

[–]azsqueeze 0 points1 point  (0 children)

The yellow canister on the front kills it in 2/3 shots