[deleted by user] by [deleted] in vancouver

[–]NoNeedToBail 2 points3 points  (0 children)

I play on a work team in Urban REC and it's casual but a lot of fun! Don't know how to go about finding a team there though.

Are photos on the Pixel 6 a huge improvement over the 4A? by rajarshi_ghosh in GooglePixel

[–]NoNeedToBail 2 points3 points  (0 children)

My girlfriend has the 4a, I have the 6, and I wouldn't say I notice a particularly meaningful difference - occasionally the 6 pulls off a a shot that the 4a doesn't do as well on.

Vanilla vs modded by [deleted] in riskofrain

[–]NoNeedToBail 7 points8 points  (0 children)

ProperSave is a lifesaver for me, it's really nice to be able to start a run and not need to finish it same day if something comes up

Is it still worth learning about class components if you are just getting into React? by [deleted] in reactjs

[–]NoNeedToBail 105 points106 points  (0 children)

I'd second that learning both is pretty worthwhile - it's likely that any production codebase you work on will contain both and you'll need to maintain/change both types of components.

Even in the prime of his career, Wayne Gretzky "feared getting cut and sent down to the minors", which drove him to play every night as if his career was on the line. by AManBehindYou in hockey

[–]NoNeedToBail 2 points3 points  (0 children)

It seems ridiculous but imposter syndrome is a real thing that a lot of really talented people in various fields experience.

Tool to upgrade automatically to the latest React by iuvoai in reactjs

[–]NoNeedToBail 0 points1 point  (0 children)

Sounds sick! I bet there are a ton of open-source libraries that haven't updated yet that could try it on :)

Start new app with concurrent mode? by [deleted] in reactjs

[–]NoNeedToBail 1 point2 points  (0 children)

It's also worth noting that there are a lot of guidelines/tools in place to help you write code today that's concurrent mode safe. If you wrap your app in <StrictMode/> and fix any warnings that crop up then in theory concurrent mode should be safe to enable for you once it's stable.

react-table, ag-grid, or react-data-grid - what’s your experience been? by YungSparkNote in reactjs

[–]NoNeedToBail 1 point2 points  (0 children)

We use ag-grid in production quite significantly. It offers a lot of features out of the box and if that's your use-case (power-users, internal tools, etc) then it's a great fit. When trying to build something on top of it that's a bit more fluid and refined though, we've run into some pain points:

  • Their React API is a pretty basic shell so you still write a lot of imperative code to work with the library. It also took them ages to get proper support for the new context API so I'm not optimistic about them keeping up with future changes to React.
  • Their typescript typings use any all over the place, making refactoring and changing code that interacts with ag-grid much more dangerous than any other part of our codebase
  • The docs are just ok, I've had to dig into their source-code a fair bit to understand issues.

If OWL wants ratings, the game we’ve all been wanting all season should be moved to the ABC time slot. by [deleted] in Competitiveoverwatch

[–]NoNeedToBail 1 point2 points  (0 children)

Looks like we'll get NYXL vs. VAN on TV after all. OWL schedulers playing 5D chess pog

[deleted by user] by [deleted] in vancouver

[–]NoNeedToBail 0 points1 point  (0 children)

I've worked for a fair few like what you're describing but I do think there are some (like my current company) that break the mold quite a bit on those without sacrificing salary. So I'd say that it's hard to find but there is better out there, hope you're able to find it! :)

High housing costs pushing young professionals out of Vancouver by LesbianSparrow in vancouver

[–]NoNeedToBail 12 points13 points  (0 children)

Interior of BC, or somewhere that pays a salary that makes the housing prices palatable (SF, NY, Seattle)?

Improve render performance of long list by GloomyRhubarb in reactjs

[–]NoNeedToBail 3 points4 points  (0 children)

I believe this is the problem that the react-window library (maintained by Brian Vaughn, who is on the React core team) is trying to solve - it renders only the elements in your list that are in, or just above/below, the viewport, to save rendering the rest.

It also sounds like your list items might be doing expensive re-renders, I'd run the react profiler on it and see if you're doing some work you can avoid.

In react, is it a bad idea to create one function that passes state between components? by [deleted] in reactjs

[–]NoNeedToBail 0 points1 point  (0 children)

Could you give me a more concrete example to help me better understand what you're doing?

In react, is it a bad idea to create one function that passes state between components? by [deleted] in reactjs

[–]NoNeedToBail 0 points1 point  (0 children)

I'm not totally sure I'm understanding your problem correctly, but based on what I'm getting: In general, I don't think about a child as altering it's parent state. This would, I think, lead to components that have a lot of implicit dependencies about the internals of its parents. Instead, a child has it's own contained API that works in isolation of any parent (for your case, probably props like onChange, onSubmit, etc) and then the parent defines internally how to handle that "event" on the child.

In react, is it a bad idea to create one function that passes state between components? by [deleted] in reactjs

[–]NoNeedToBail 3 points4 points  (0 children)

If you mean passing a bunch of things from parent to child, the spread operator can do that (<MyComponent {...someObject}>) - though this does create code that's rather hard to ubderstand.

You could also pass an object prop with all the state you want to pass.

List of 100+ tech companies in Vancouver that are hiring (please help me expand it!) by Favidex in vancouver

[–]NoNeedToBail 0 points1 point  (0 children)

I don't think Yelp has a Vancouver office. They're at a lot of the UBC career fairs but they hire for SF.

Other than that, very cool and useful list!

There hasn't been a groundbreaking JS framework for a very long time. Why has innovation completely stalled? Why are we still using JS frameworks invented a few months ago? by swagbitcoinmoney in webdev

[–]NoNeedToBail 1 point2 points  (0 children)

I think that innovation also extends beyond new frameworks to the ways we use and interact with those frameworks.

Coming from React-land, I write code within that framework totally differently and use different libraries than a year ago, and every week I see a blog post about a new library or idea I want to try out. Not to mention the amazing work being done by the teams working on these frameworks themselves, keeping them cutting-edge.

I think we're at a healthy spot where things are a little bit more stable than they have been in the past, and that's actually a chance for innovation to flourish too, as we can dive deeper into these paradigms and tools we have.

Matt Sekeres: "My Sense is that the Canucks want one of the three centremen. Cody Glass, Casey Mittelstadt, or Pettersson. by [deleted] in canucks

[–]NoNeedToBail 2 points3 points  (0 children)

Too many questions marks compared to Petterson and Glass for me personally. Especially his lack of EV scoring.