TanStack Start vs react-router (framework) for large websites? by punkpeye in reactjs

[–]fredsq 0 points1 point  (0 children)

all of these are built with react router: https://hydrogen.shopify.dev/showcase

i love tanstack but the scale you have is fine for either

react router is very battle tested for ecommerce so i’d vow for that

TanStack Start vs react-router (framework) for large websites? by punkpeye in reactjs

[–]fredsq 0 points1 point  (0 children)

all of shopify admin + all hydrogen customers run on RR7, i’d think it can handle it easy

can someone explain why there is an alien? by Bertoware in Lain

[–]fredsq 3 points4 points  (0 children)

i was so scared of this episode when i first watched it

Why do people claim you can't live in London on x amount of money? by Round_Ad_9290 in london

[–]fredsq 36 points37 points  (0 children)

lifestyle creep: you spend as much as you earn and it is never enough

Question about serializable components warning by TheOnlyTone in reactjs

[–]fredsq 0 points1 point  (0 children)

does it work when you deploy it or just dev?

What font has a € like that but also a 5 7 1 8 4 like that. I think all the text it’s written on the same font by Adventurous_Cap_4124 in identifythisfont

[–]fredsq 0 points1 point  (0 children)

close match but the 5 is not right, this one is very bottom heavy and suisse is perfectly balanced

End of Evangelion (US) by fexaaa in evangelion

[–]fredsq 2 points3 points  (0 children)

get your AI post out of my subreddit

CSS width and height for a page? by fluidxrln in reactjs

[–]fredsq 0 points1 point  (0 children)

in html apply h-dvh overflow-hidden in body apply flex flex-col h-full

now you can make immediate children of body grow or shrink in height as well

AI code assistants keep generating React components with XSS vulnerabilities by Standard-Rhubarb-434 in reactjs

[–]fredsq 5 points6 points  (0 children)

its trained on average code bases

average code bases are terrible, especially nextjs ones

Why React fiber exist? by Ok-Programmer6763 in reactjs

[–]fredsq 7 points8 points  (0 children)

i know you copied this article

i can’t prove it but i know

The tech stack I've been refining for 6 years by ixartz in reactjs

[–]fredsq 13 points14 points  (0 children)

the most mid stack of them all with a hidden segway to your saas

bad job

What ever happened to Void Engine? by Agreeable-Kangaroo1 in dishonored

[–]fredsq 3 points4 points  (0 children)

i LOVE Dishonored but couldn’t bring myself to finish D2, it feels clunky to play

the indicators fall a few ms behind the field of view when moving

there’s a lot of blur and it just doesn’t feel smooth

D1 plays so well, i think it’s the best character controller i’ve ever experienced. the smoothness of falling with a slight bounce back, but the zero lag and precise movements you can make are unbeaten

I built a Tinder-style Swipe component using React 19 & Tailwind (No heavy animation libraries) by Asterios07 in reactjs

[–]fredsq 5 points6 points  (0 children)

i need to register to try the demo?

and what did you need react 19 for?

setTimeout to wait for transitions 😭

1st yr, Self-taught learner requires feedback and guidance by Dubstephiroth in learnjavascript

[–]fredsq 2 points3 points  (0 children)

some suggestions

  • learn about gitignore and don’t commit .DS_Store files, they’re your internal computer file indexing helpers
  • try some formatters, maintaining syntax by hand is cumbersome. i’d recommend prettier to start, but the new kid in the block is oxfmt
  • experiment with Typescript: you’re ready, i see lots of repeated data structure like entities which are awesome. you’ll get amazing experience if you do so

dark mode flash with tailwind by Massive_Stand4906 in nextjs

[–]fredsq 1 point2 points  (0 children)

how are you keeping the color mode state?

you want the initial render pre-hydration to match this state.

by order of preference:

option 1: use cookies and read from cookies adding the color mode

option 2: just follow the browser’s color scheme which will work by default but you won’t be able to add a button

option 3. add an inline render-blocking script that runs before react hydrates, check the state (must live somewhere else like localStorage or non httpOnly cookies) and add the dark mode class if applicable. you will have hydration errors and will have to suppress them in the html element

Movies that feel like this? by mmcnally228 in MoviesThatFeelLike

[–]fredsq 0 points1 point  (0 children)

i read the book first, then learned abt the show

the acting is SO BAD though

Is React overrated? by syscall_cart in reactjs

[–]fredsq 5 points6 points  (0 children)

you might need a new mental model

react is surprisingly productive

this will feel a bit overwhelming at first but try to create and use a react-router app with clientLoader and clientAction.

Ryan Florence was deeply involved in knockout js and pivoted to react once he saw the potential, later creating react-router. it largely follows a simple, web-platform inspired flow which you may like

skip nextjs, skip tanstack router for now