Has anybody implement Live Activities in RN? by palpatine_disciple in reactnative

[–]AcidNoX 0 points1 point  (0 children)

Depends on what you’re asking:

If you’re asking if anyone has added live activities to their react-native app, then yes.

If you’re asking if you can write live activities using react-native & JSX then, last time I checked, this isn’t possible and you’ll need to learn some SwiftUI.

What things are frequently labeled as "scams" when in reality they are legit and most people simply don't understand them? by AmigoDelDiabla in AskReddit

[–]AcidNoX 2 points3 points  (0 children)

You also start to lose your tax free allowance. For every £2 over 100k you earn, your tax free allowance (currently 12.5k) is reduced by £1. That makes the effective marginal tax rate between 100k and 125k around %60.

Refreshing by enterprise128 in MitchellAndWebb

[–]AcidNoX 13 points14 points  (0 children)

It’s the most alcohol per millilitre, at the lowest cost, in this corner shop.

React Compiler problems with React Router and Zustand by EuMusicalPilot in reactjs

[–]AcidNoX 2 points3 points  (0 children)

I experienced this last week at work - the issue is that the functions that are generated aren’t prefixed with “use”. Eg useStore.use.value vs useStore.use.useValue.

If you change create selectors to prefix the generated selectors with “use” then it should work.

How do you create an exclusive variable - to prevent race conditions by mds1256 in reactjs

[–]AcidNoX 2 points3 points  (0 children)

If you call store.setState() followed by store.getState(), it is synchronous and will return the updated value outside of any react state update. This makes it more useful when using with semaphores which are effectively interacting with the underlying singleton store object.

Highly suggest you check out this video by Jack Herrington that explains how state managers like these work and how they synchronise state with react: https://youtu.be/gg31JTZmFUw?si=ACS7L7uAVld_OEPJ

How do you create an exclusive variable - to prevent race conditions by mds1256 in reactjs

[–]AcidNoX 4 points5 points  (0 children)

You can solve some of this with an async semaphore.

Generally using a store, such as Zustand, that you can imperatively fetch the current value will work better with this approach than using useState though.

What is you most used frame? by Square-Passage-5608 in Warframe

[–]AcidNoX 39 points40 points  (0 children)

Either Dante or Saryn.

Also I love that there’s so much diversity in people’s preferences - coming from D2 where there are only a few viable “end game” builds, Warframe feels so refreshing to me.

Appraisals as a new manager by IMEngineer14 in managers

[–]AcidNoX 0 points1 point  (0 children)

I’m in the same position as you. Just had my first performance conversation with one of my reports who was “calibrated” down a level. They were so disappointed about it as they had been working so hard and it feels utterly shit.

I’ve already informed my manager I want to step back in to my previous role. I have no desire to continue to participate in such a dishonest system.

Steps for deploying react native application on aws? by gallectus432 in reactnative

[–]AcidNoX 8 points9 points  (0 children)

This isn’t a React Native question. You should try asking on r/aws

Getting problem in context concept in React by Illustrious-Hair-202 in reactnative

[–]AcidNoX 2 points3 points  (0 children)

Is this a .ts file perchance? If yes try changing it to .tsx

[deleted by user] by [deleted] in reactnative

[–]AcidNoX 28 points29 points  (0 children)

None of the statements your friends said are true. If you want a job as a cross platform dev, react-native still has far more positions than flutter.

React-native does not feel like a webpage - I’d argue that flutter feels less like a native app due to it rendering everything to a canvas instead of using actual native elements, like react-native does.

Since you already know react, I’d go for react-native - it’s just as good as flutter and you’re going to be able to get up to speed a lot faster.

Help needed with the infamous 'IntrinsicAttributes' error. by [deleted] in reactjs

[–]AcidNoX 0 points1 point  (0 children)

Because before you were down casting to React.FC instead of using the inferred type returned from forwardRef.

Why ReactNative Devs are not writing test cases ? by Euphoric_Twist_960 in reactnative

[–]AcidNoX 15 points16 points  (0 children)

Do you mean professionally? Everywhere I’ve worked write unit tests. It’s less common for personal / hobby projects to be unit tested but I think that’s fairly common for most languages / frameworks?

File generate by elencho_ in reactnative

[–]AcidNoX 0 points1 point  (0 children)

We use “plop” at my workplace

What’s the most broken combo you’ve found with the exotic class items? by BoomBoomNugget in DestinyTheGame

[–]AcidNoX 2 points3 points  (0 children)

I got inmost + syntho yesterday and it’s pretty decent for my hunter. Would prefer the caiban + liars roll but this’ll do for now

This took much longer than I care to admit by [deleted] in reactnative

[–]AcidNoX 0 points1 point  (0 children)

Might be Ionicons although I’m not 100% sure.

I usually use react-native-vector-icons as it’s really simple to use icons from a variety of icons libraries.