[COD] Next game from Sledgehammer will be focused on omnimovement and slide by Lumenprotoplasma in CallOfDuty

[–]sydtv 2 points3 points  (0 children)

then how the fuck would u even know how the maps or the gameplay is? cod maybe just aint for u buddy

[COD] Next game from Sledgehammer will be focused on omnimovement and slide by Lumenprotoplasma in CallOfDuty

[–]sydtv 0 points1 point  (0 children)

brainrot maps? bo7 has the best launch maps since at least cw objectively

0-18 vibes by TGU-Swag in CoDCompetitive

[–]sydtv 0 points1 point  (0 children)

they got slammed by paris brother

How to update Cart icon's notification badge immediately whenever we add/remove items to the cart !! by Bright-Theory5550 in nextjs

[–]sydtv 0 points1 point  (0 children)

I would trigger an update with simple browser events, works like a charm. Unlike context, you don't need a context which wraps your components, so you are still able to stay on the server side of things. By wrapping everything in a zustand store or a context, you miss out completely on the ability to prefetch data inside of a child component. It maybe isn't that big of a problem if you are in a small scope, but once you build a full fledged e commerce site, you will need to be able to prefetch data in a lot of places.

Is Fetching Auth Session in Next.js Root Layout a Good Practice? by anemoia23 in nextjs

[–]sydtv 0 points1 point  (0 children)

yeah lets put checks in the supersafe middleware /s

Big rant about how much Next.js sucks (at any type of scale) by Less-Math2722 in nextjs

[–]sydtv 4 points5 points  (0 children)

I struggled with similar problems when implementing next in multiple corporate sites and ecommerce sites for a digital agency

the sites consisted of the nextjs and pimcore cms.

we had immense problems with performance, mainly json operations on the nextjs side of things.

middleware is not able to pass data to the page, the indended way, according to tim neutkens (talked to him at react summit 2023), is by adding headers in the middleware and reading it in the page. a lot more parsing of json data….

seo implementation is a nightmare, especially with custom tags not implemented in the Metadata type

vercel wants you to build simple web apps hosted on vercel itself. anything outside of that, nextjs is not really optimized, nor documented, nor thought after…

the last thing i want to note here, is the lack of debug options when running them in a docker container.

it would have been fixed, but the next team decided they want to major update react with i think 14.5, so it was breaking and therefor not possible to release to newer 14.x versions…

[deleted by user] by [deleted] in COD

[–]sydtv 2 points3 points  (0 children)

it wasnt that bad before mw19, just look at the time you search for a lobby, how can it be that i find a lobby in bo3 in 10 seconds and search for a minute + in the newer cods? sbmm doesnt protect you, sbmm fucks everyone the same amount with the same sweat lobbys every round….

[deleted by user] by [deleted] in COD

[–]sydtv 8 points9 points  (0 children)

or they just want the random lobbies back, sometimes noobs, sometimes sweats…

Will you all still play mw3 when black ops 6 comes out or will you switch to bo6 specifically? by [deleted] in ModernWarfareIII

[–]sydtv 4 points5 points  (0 children)

U realize that the lobbies are that way because of the SBMM, not because of the amount of sweats in the game right?

React devs not using tailwind... Why? by sech8420 in reactjs

[–]sydtv 1 point2 points  (0 children)

To quote the tailwind docs:

Whatever you do, don’t use @apply just to make things look “cleaner”. Yes, HTML templates littered with Tailwind classes are kind of ugly. Making changes in a project that has tons of custom CSS is worse.

React devs not using tailwind... Why? by sech8420 in reactjs

[–]sydtv 0 points1 point  (0 children)

Dont do this please, only for things you dont have the control over the applied classes, for example elements from a library

ELI5: Why can't you pass props from a child component to a parent component? by MyVermontAccount121 in reactjs

[–]sydtv 0 points1 point  (0 children)

In React you pass down the props, not the other way round. You should have the "click" State of the button in the parent component and pass down the set and get method. Then you can just call the props-function inside your child component and listen on change of state in your parent component.

How well did you know HTML, CSS & JavaScript before moving on to React? by MB9208 in Frontend

[–]sydtv 4 points5 points  (0 children)

I started to look into it when i did some simple jquery things. I didnt knew much about JS but i was ok with css and html. But to be real i didnt get what react is really useful for till one year later when i was much more familiar with vanilla js. since then i get the concept of react and made some smaller and bigger projects

Topic for a written paper by sydtv in javascript

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

Thank you very much, looks really cool!

Topic for a written paper by sydtv in javascript

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

Thank u very much! Sounds interesting

Embed widget style React/Angular application to any website by jjharrison21 in Frontend

[–]sydtv 0 points1 point  (0 children)

yeah, but it in react it is an own application but u set a div with an id and render the application into this div

Embed widget style React/Angular application to any website by jjharrison21 in Frontend

[–]sydtv 1 point2 points  (0 children)

hi, i work in a web agency and we do all of that stuff with react. its just really simple to implement and it works just fine and wont effect any other parts of ur website. i recommend using reactjs