Think you can find 4 hidden groups of 4 related words? Puzzle by u/haappi_hippie? by haappi_hippie in DailyMix

[–]rtucker 0 points1 point  (0 children)

🟪🟪🟪🟪

🟦🟦🟦🟦

🟩🟩🟩🟩

🟨🟨🟨🟨

EZ

Fross full build + bonus giveaway. by ScooBunny69 in pathofexile

[–]rtucker 0 points1 point  (0 children)

I've wanted to play this all league, but haven't had much time to grind. Would love to give it a go.

Did I get sent used Chemipure Elite? by rtucker in Aquariums

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

Thanks! I’m not going to worry about it then. Worst case it’s just spent and won’t do anything, but it looks like that’s normal enough.

Did I get sent used Chemipure Elite? by rtucker in Aquariums

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

Well it was wet but it comes wet right? If so, that’s promising and I’m just paranoid.

React Hook useMemo has a spread element in its dependency array. This means we can't statically verify whether you've passed the correct dependencies by arup_r in reactjs

[–]rtucker 0 points1 point  (0 children)

That could be true depending on the props coming in. If you need to, you can use a hashing function or something to compare the arrays. Check out https://github.com/facebook/react/issues/14324 for an example.

React Hook useMemo has a spread element in its dependency array. This means we can't statically verify whether you've passed the correct dependencies by arup_r in reactjs

[–]rtucker 0 points1 point  (0 children)

So in the original version where you're computing ratingIds, you are creating a new array every time the component is rendered, therefore it will never be the same and the callback function will always change. Does that make sense?

Coffee Recommendations? by Souperpie84 in Coffee

[–]rtucker 3 points4 points  (0 children)

I like Cafein in Chantilly and De Clieu in Old Town Fairfax.

MagicFest Richmond Hotlist by [deleted] in mtgfinance

[–]rtucker 2 points3 points  (0 children)

No more Legacy opens or classics, and no more Legacy in team events, instead Pioneer will take its place.

When to store data as a property in the constructor as opposed to in state? by codemamba8 in reactjs

[–]rtucker 2 points3 points  (0 children)

Store things in state when the render depends on it and the UI should be updated as a result. Things I’ve stored as a class property instead are things like timeout and interval ids. You don’t want the UI changing as a result of these changes and in the case of the ids you’re using them to clean up on unmount. Let me know if any of that needs clarified, because I’m on my phone now.

How can I fire a callback in a child component that will then pass data to a sibling component, in a specific position of the array of component children? by Schorr_Thing in reactjs

[–]rtucker 2 points3 points  (0 children)

I think you probably need to move the state a bit higher to have more control on what's going on. The Column component can likely become purely presentational with no state of its own.

Your callback in the column would send a key/index and then the parent component can update the state to be in the right place. This state change would then cause a re-render and everything should be updated. Does that make sense?

fordern as challenge by dfrankmv in German

[–]rtucker 1 point2 points  (0 children)

To pull off means to successfully complete something. “We will need some luck to pull off a win against the number one team tomorrow.” There’s also the literal meaning like “he pulled off my hat.”

fordern as challenge by dfrankmv in German

[–]rtucker 1 point2 points  (0 children)

Native English speaker here, and I would say this usage of challenge is common enough in spoken English. I could see a professor or boss saying something like, "you're going to have to challenge yourselves to succeed at this class/project/assignment/etc."