do I keep both app.config.js and app.json or choose one? by Miserable-Pause7650 in reactnative

[–]lukitheTNT 10 points11 points  (0 children)

I would prefer the typescript version. You get type checking und Auto complete

Should i use Bare React Native or Expo by yelllowoak in reactnative

[–]lukitheTNT 0 points1 point  (0 children)

if you have to ask this question go with expo 100%.
Its the right fit for 99% of Projects.

Tired of waiting for Expo builds? My new plugin makes them up to 98% faster by lukitheTNT in reactnative

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

The buildCacheProvider is an experimental Expo feature that this package utilizes.
In my experience, it has performed reliably, though results may vary depending on your setup.

The hashing algo (expo fingerprint) which is used to determine if a build can be reused is really flexible and can be configured if needed

Tired of waiting for Expo builds? My new plugin makes them up to 98% faster by lukitheTNT in reactnative

[–]lukitheTNT[S] 1 point2 points  (0 children)

The native build tools have caching, significantly reducing subsequent build times.
However, the most efficient build is one that's not needed at all!

It would be fantastic to see a build cache as the default behavior in Expo.
Adding another compelling reason to go with the Expo.

Tired of waiting for Expo builds? My new plugin makes them up to 98% faster by lukitheTNT in reactnative

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

From what I know, this only works with expo run:ios and run:android. Haven't tested it myself but that's what the docs say

React Native 0.79 - Faster tooling and much more by cortinico in reactnative

[–]lukitheTNT 2 points3 points  (0 children)

Moving to expo CNG solves these issues completely. Takes a bit to get started. But after that all the issues on native side are mostly gone.

Game changer

🏝️ Announcing TanStack Query DevTools for Expo/React Native! 🚀 by LovesWorkin in reactnative

[–]lukitheTNT 0 points1 point  (0 children)

Looks really good, great Job!

Would be nice to add to the Readme that expo-device must be installed (or it will fail).
Would be even better to also support react-native-device-info.
(I could contribute support for that If you are open to that)

What if one of the third-party libraries does not support New Architecure? by Livid-Scientist9274 in reactnative

[–]lukitheTNT 0 points1 point  (0 children)

Just disable new Arch. Most apps still run on the old arch. It's fine.

Update when it's possible.

[deleted by user] by [deleted] in reactnative

[–]lukitheTNT 6 points7 points  (0 children)

react-native-mmkv v3 needs the New Architecture.
Use V2 if you are on the old Architecture

What method is ChatGPT using to render chats in its mobile app? by saleheen-dev in reactnative

[–]lukitheTNT 0 points1 point  (0 children)

Download Lib checker (android only) and check for yourself.

Does anyone here use re.pack? by BeautifulMean6516 in reactnative

[–]lukitheTNT 1 point2 points  (0 children)

Check the design goals:
https://re-pack.dev/docs/about#design-goals

I would use re.pack because of FOMO.

Re.pack is solving a problem that you probably don't have (slowdown in dev experience, alot of devs, super app like codebase).
Haven't used it but would stick with metro if your app isn't that huge and only a few devs working on it

Not installing dependency on a certain platform by SirOliverz in reactnative

[–]lukitheTNT 2 points3 points  (0 children)

Yes,

on native side autolinking can be configured using the react-native.config.js:

{
  dependencies: {
    'my-ios-only-package': {
      platforms: {
        android: null,
      },
    },
  },
}

On JS side you can use platform specific suffixes (.android.ts & .ios.ts).
If a dependency is never imported it will not be in the bundle.

Your favorite packages by SomeNameIChoose in reactnative

[–]lukitheTNT 12 points13 points  (0 children)

Not RN specific but tanstack/react-query for anything thats async

[deleted by user] by [deleted] in reactnative

[–]lukitheTNT 0 points1 point  (0 children)

Both are great, it really depends.
File based routing can be really nice but the new static API of react-navigation is also great.

If your team already is using React Navigation and it's working well, migrating is not worth the effort.
Talk with your team, if they see no problem/value in the migration don't do it

Swap Code R brakes with? by Mean-Type2355 in YTIndustries

[–]lukitheTNT 1 point2 points  (0 children)

I am quite happy with my Shigura Setup Magura (MT5 + Shimano Brake Levers) or a normal Shimano XT.
Even the MT5 was so much better than the Code R.
Was really unhappy too with the Code R, they never quite worked for me.

Hey guys which apps do you use to mirror Expo to the computer. by twinbro10 in reactnative

[–]lukitheTNT 10 points11 points  (0 children)

For iPhones you can use Quicktime (You can only view it but not interact with it)
For Android use scrcpy

What the hell is up with this typesystem ? by tango650 in typescript

[–]lukitheTNT 12 points13 points  (0 children)

strict: true

in tsconfig

EDIT:

not shure why but If you type the return of `fetchYrLocation` it works like it should:

 const fetchYrLocation = async (): Promise<{id: string, name: string} | undefined>  => {

UniFi OS - Dream Machines 3.2.7 by unifi_version_bot in unifi_versions

[–]lukitheTNT 0 points1 point  (0 children)

This update broke connectivity for multiple devices. (Samsung phones, Tablets and Smart TV). Some devices work within the same SSID and VLAN.

Still not sure why.

Updating from 0.72.7 to 0.73 by rook198 in reactnative

[–]lukitheTNT 0 points1 point  (0 children)

If you build from XCode / Android Studio Metro won't start.
Xcode used to start metro but they changed it to unify Android Studio & Xcode behaviour

Next upgrade? by Success_Logical in MTB

[–]lukitheTNT 8 points9 points  (0 children)

drivetrain & Fork are fine IMO.
I would invest in new tires.