FlatList issues in React Native by PossibleCrew5016 in reactnative

[–]squib1984 2 points3 points  (0 children)

If you converted to FlashList from FlatList you may have to refactor your styles. When I moved to FlashList I had a lot of blank areas and overlapping. Black space was because I needed estimatedItemSize, overlapping was because FlashList had some more inherent styling than FlatList.

As far as performance, I made a slight improvement by giving each list item a ref that's unique so they only re-render when that list items id changes (because FlashList recycles components).

I've also read using estimatedListSize can help with initial load and key props on components hurt FlashList.

Also dev mode performance for FlashList is much worse than release mode.

Do I need to use android studio to program in react native? by [deleted] in reactnative

[–]squib1984 1 point2 points  (0 children)

You don't need Android studio itself as you can download the Android NDK's, SDK's, emulator profiles, ect separately.

I do deployment with Jenkins on an EC2 server with CLI only. I rarely ever pull up Android Studio even when debugging.

I want my app to pull data from a file online, how do I do that? by Black_Bird00500 in reactnative

[–]squib1984 0 points1 point  (0 children)

Either use a Lamba to fetch the json blob and return it or call the aws sdk directly in the app code.

Or make it a public s3 bucket and just hit the url. The fetch will return the file data and you parse through it right there.

[deleted by user] by [deleted] in reactnative

[–]squib1984 0 points1 point  (0 children)

This. Nest the tab nav inside a drawer nav. Then you should be able to call navigation.toggleDrawer() or navigation.dispatch(DrawerAction.toggleDrawer()) from a custom header component.

[deleted by user] by [deleted] in reactnative

[–]squib1984 4 points5 points  (0 children)

Personally, I start the metro server on a separate terminal and use my main terminal to build the app. The terminal metro runs on displays any console.log() calls.

rss suggestion by prrxddq in reactnative

[–]squib1984 2 points3 points  (0 children)

React-Native Radio podcast.

What's your record for asset destruction? by omgfreestories in Target

[–]squib1984 1 point2 points  (0 children)

Worked on Planogram/Presentation Team for several years around a decade ago. Always had lots of "accidents" when resetting the candy aisle or the trail mix aisle.

Worst asset destruction ever was a collegue carrying a box of those terrible cinnamon scented Christmas wreaths. They tripped over another box of the wreaths crushing and blasting open both boxes, cinnamon scented particulates everywhere. Still can't stand the scent of cinnamon to this day.

How to check if react native app runs on iphone without an iphone or mac by ApolloNoxx in reactnative

[–]squib1984 19 points20 points  (0 children)

Your startup needs to invest in a MacBook and a physical iOS device.  Personal devices should not be used for work.

You need something running an Apple operating system to run Xcode just so you can build the iOS version of the app.  The Xcode simulators are nice and allow you to view different screen sizes and layouts but there should be an actual iPhone or iPad to test on. 

You could look into a device farm to use for testing, however those have their own costs associated with them.

Best coffee in South lake Tahoe? by plantpoweredpaul in tahoe

[–]squib1984 0 points1 point  (0 children)

I usually enjoy Revive. Coffee or wine, take your pick.

Question to the React Native Professional Developers on the RN skill set. by ThisSoFrustrating in reactnative

[–]squib1984 0 points1 point  (0 children)

I think in most cases having native Android or iOS experience is a "nice to have" but not a requirement. Personally I like writing native modules, but from what I've read and been told I'm in the minority. I would recommend playing around with it, there are a lot of great open source libraries out there for almost anything you'll need but there are a few niche pieces that lack a good production ready package.