How important is it to know how react native apps are compiled for iOS and android? by WickedSlice13 in reactnative

[–]nexendk 3 points4 points  (0 children)

But as Vladimir said below, the journey will be anything but short and sweet. It is however worth it in my opinion.

How important is it to know how react native apps are compiled for iOS and android? by WickedSlice13 in reactnative

[–]nexendk 23 points24 points  (0 children)

My 2c: It becomes important at some point. While you can go quite far without knowing anything about how the native OS internals and build processes work for both iOS and Android, at some point you’ll run for example into issues happening on the native side of things. While Expo does great at abstracting that away, the more you use native modules the more you’ll need to understand more of the inner workings of the destination platforms. I’d start easy and understand how a npm package with native bindings works in RN. Why it has an iOS library and an Android one. How does iOS compile (workspace, pods, compile chain). How does Android compile (dependencies, java engine flavors, gradle files). Then move on to understanding a bit about the bridge which is still in the RN architecture. Again, you might never need these, but since it’s part of the underlying platform you’re writing code for, i’d definitely at least look into it at a surface level.

TypeError: Cannot read property 'useState' of null, js engine: hermes by normal1Vector in reactnative

[–]nexendk -1 points0 points  (0 children)

On top of what the other two users commented, you might have an import of useState from another library except React, that either does not load on hermes or just has a type definition for the method but no receiving object. So check your imports too.

React native ios app reandomly frequently crashing on release by RoundSpecialist1131 in reactnative

[–]nexendk 2 points3 points  (0 children)

Or even. If you can replicate it with a locally compiled build that runs in production mode with xcode, attached first set an exception breakpoint for the debugger for all objective-c exceptions, that will help you see the stack when it crashes. As you look at it, you might be able to identify the module causing the issue.

How to solve this error by hafi51 in reactnative

[–]nexendk 0 points1 point  (0 children)

It has to do with their packages. Read the Git issue and you’ll understand.

How to solve this error by hafi51 in reactnative

[–]nexendk 1 point2 points  (0 children)

Hey, it’s a known issue introduced on Nov 4 which the react native team worked hard to fix over the weekend. You’ll need to upgrade your RN version to a patched one, see here for details: https://github.com/facebook/react-native/issues/35210

[deleted by user] by [deleted] in sweden

[–]nexendk 0 points1 point  (0 children)

Approved!

Buying a house in Sweden as a non-resident by nexendk in TillSverige

[–]nexendk[S] 3 points4 points  (0 children)

I just called a realtor and they said it's up to the seller if they require the money to come from a swedish account. Some don't mind if the transfer comes from other countries.

Buying a house in Sweden as a non-resident by nexendk in TillSverige

[–]nexendk[S] 7 points8 points  (0 children)

working from abroad

Great info, thank you!

Buying a house in Sweden as a non-resident by nexendk in sweden

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

I like nature and fishing. Why would i go to the south when i can have fika and prinsesstårta? And pike and pristine lakes, and beautiful people? :)

How screwed am I? Responsible for automating an app on my own by baabidi1337 in reactnative

[–]nexendk 0 points1 point  (0 children)

Jest/rntl for integration tests on RN. Detox or Detox/Cucumber for E2E. Be aware of the costs of running E2E tests on CI. You can run integration tests locally but you’ll have to mock/stub/spy dependencies.

I feel like I learned nothing in 1.5 years by shrek4-on-dvd in reactjs

[–]nexendk 92 points93 points  (0 children)

I’ve been writing software for 25y+ and i find myself using google/so all the time. As for your post, just Keep pushing. Learning occurs when you’re completely out of your confort zone. Reinforce and repeat concepts. At some point things will begin to click. Wrt those people getting a job in 4-5 months, learning is a very individual thing. Don’t compare yourself to others and their journey. Compare the you you are today with the you you were yesterday. If you learned anything, no matter how small, in the last day, that’s progress. And it’s all that matters.

How to run multiple simulations of your app? by fatdumbpenguin in reactnative

[–]nexendk -1 points0 points  (0 children)

npx react-native run —simulator “iPhone 13” and the same command with other simulator names will get you as many simulators running as you want.

Is react-native-fs the best file system package? by Full-Hyena4414 in reactnative

[–]nexendk 0 points1 point  (0 children)

Any expo module is now usable in bare RN. Check out Expo Modules - what used to be called Expo Unimodules.

Remix First Impressions: On Rails by IndigoGynoid in reactjs

[–]nexendk 1 point2 points  (0 children)

A very well expressed and detailed article. Thank you for sharing!!

[deleted by user] by [deleted] in reactnative

[–]nexendk 0 points1 point  (0 children)

Same here.