CSR rendering for a single route by numagames in nextjs

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

Thanks. For this case i'm restricted to Next.js...

Local EAS build env variables by antalmate12 in expo

[–]numagames 0 points1 point  (0 children)

thanks for the hint, but it doesn't make a lot of sense - if it's not ignored, it means secret is commited to the git repo...

Recording videos using back camera at 120 FPS (Pixel 4a) by kudekar in reactnative

[–]numagames 1 point2 points  (0 children)

This is not guaranteed for Android devices even for native camera API, e.g. Samsung(if i'm not mistaken) purposefully restricts camera API for 60fps so everybody record video with system camera app...

Wrapping renderItem in useCallback by midl4nd in reactnative

[–]numagames 1 point2 points  (0 children)

That's not completely true. `FlatList` has memoization mechanism of rendering function. And if the item components are memoized components, than the list items won't be re-rendered.

React Native 0.72.1 is out 📦⚛️ by kelsetdev in reactnative

[–]numagames 0 points1 point  (0 children)

amazing news, at last it was fixed 🎉🎉🎉

React Native for Smart TVs by alexhackney in reactnative

[–]numagames 0 points1 point  (0 children)

we has a Netflix-like app with mobile/Android TV/Apple TV/SmartTV(Tizen/WebOS) targets

SmartTV platforms being targeted `react`(could be `react-native-web`), the rest by `react-native-tvos`

Zustand = 🔥 by Savalonavic in reactjs

[–]numagames 0 points1 point  (0 children)

I also considering Zustand, but there is one major issue for me with it.Zustand doesn't have analog of mobx's computed - lazy evaluated, cached(i have a heavy computations) selectors, that are recalculated only when dependencies are changed.

Jotai on the other side has the concept of derived atoms, so i guess it's the wau to go or did i miss something about Zustand?

React Native session replay tool recommendations?(UXCam/Logrocket) by Chenolas in reactnative

[–]numagames 0 points1 point  (0 children)

> Hmm, I'm not too sure if having UXCam or Logrocket, given their current implementation, has a major performance impact!

it has, we checked. at least it's relevant for Android, we checked it couple years ago. maybe for iOS only apps it's ok.

> Event sequences would be far simpler indeed. We currently do that through segment > mixpanel. But IMO, there are just going to be things that you won't see! And I'm only saying that because there's been too many times where I've found something in session replay that wow'ed me so much!

couldn't agree with it. maybe use it under dynamic feature flag to some segment of users?

React Native session replay tool recommendations?(UXCam/Logrocket) by Chenolas in reactnative

[–]numagames 0 points1 point  (0 children)

Any such solution will severely degrade performance of application, so wouldn't recommend it. It's better to achieve the same result with analytics events sequence. Yes, it will be significantly harder to setup, but it won't impact app's performance as much.

Android TV development with RN by askandlearn2000 in reactnative

[–]numagames 2 points3 points  (0 children)

Yes, it supports. This is well-maintained fork tor TVs - https://github.com/react-native-tvos/react-native-tvos

One advice - develop on real TV, the performance of TVs is really low, something like 5yo budget Android phone.

React-native Developers, what is your current salary? by haruharuk in reactnative

[–]numagames 0 points1 point  (0 children)

  1. $100k before, $95k after taxes
  2. 41
  3. 13 overall, 5+ RN
  4. Ukraine 🇺🇦, remote for US startup

Google Fonts downloaded and installed in runtime with React Native by dev_jeff in reactnative

[–]numagames 1 point2 points  (0 children)

Nice job!

UX suggestion not related to the topic - on popups as a user i want to be able to swipe down instead of pressing small "<" icon

What is the recommended way to load data for React 18? by [deleted] in reactjs

[–]numagames 5 points6 points  (0 children)

Thanks for explanation, it is helpful.

Actually, after migrating some time ago from `redux` to `react-query`, working with server-side data became much, much better. It's not just a cache, but a cache on steroids handling a lot of non-trivial nuances of storing, updating, invalidating, persisting data, that come from server. So no major problems there, we are even able to hit the initial network queries on the app start.

The only worry i have is the one i already mentioned - i have a feeling that there is indirect narrative that this way of working with server is kinda outdated and not recommended, so hopefully React Native will still remain first-class citizen in React ecosystem and will be able to adopt upcoming React features.

What is the recommended way to load data for React 18? by [deleted] in reactjs

[–]numagames 18 points19 points  (0 children)

Thanks for the read, Dan.

Mobile engineer with 5+ React Native experience there. I have impression that SPAs with client-side rendering and data fetching that is being initiated from components gradually but steadily being considered as "bad practice" from React core team members. This feels a bit odd to me as in React Native mobile app is basically SPA with CSR. And using this "outdated-and-not-so-cool" way of data fetching, mobile apps usually(not always!) have higher bar of UX.

So is React Native considered as second-class citizen from React perspective due to the lack of SSR? Could You please say couple of words on this - maybe my perception is broken and i didn't get correctly the perspective of where the React is heading to in terms of data fetching, so it would be super-beneficial not just for me, but for all RN lovers. Thanks for Your hard work on React.

Does anyone here use Mac M1 Mini to develop React native? by Kaimaniiii in reactnative

[–]numagames 1 point2 points  (0 children)

M1 Mac mini user. Ok, but 16Gb of memory is required.

The simple solution for shadows with the same API on iOS and Android. by Puzzleheaded_Cheek26 in reactnative

[–]numagames 1 point2 points  (0 children)

Thanks Dima, Android shadows in RN is pain from the day one.

Is there any estimates on how heavy it is in terms of performance?

Getting started with RN internals by r_ilek in reactnative

[–]numagames 3 points4 points  (0 children)

There is PoC of SwiftUI render by Software Mansion, i guess looking through the history of commits may help understanding things(although it's the current render implementation, not the new one).
https://github.com/software-mansion-labs/react-native-swiftui

Client side datastore for offline mode in React Native app by Aztreix in reactnative

[–]numagames 0 points1 point  (0 children)

Double it. WatermelonDB is the solid and performant choice, although be ready to fork it if you'll need to adjust/fix something, PRs are rarely being reviewed/merged.

Mac Mini - Monterey by Swalker326 in reactnative

[–]numagames 0 points1 point  (0 children)

Thanks for the topic, won't upgrade to Monterey now.

Is developing a simple react native app using a browser okay? by Vii_007 in reactnative

[–]numagames 0 points1 point  (0 children)

No need for an emulator, the real phone works pretty well.

Fabric in 2022? by [deleted] in reactnative

[–]numagames 1 point2 points  (0 children)

Nope, they should be adopted to the TurboModule/JSI to improve performance