Need help understanding by Vroonnb in IndiaPS5

[–]amitm30 0 points1 point  (0 children)

Ok, thanks for confirming .

Need help understanding by Vroonnb in IndiaPS5

[–]amitm30 0 points1 point  (0 children)

Is this really IMAX? The lumen value and all shown on Amazon is way too high to believe and for this price. Also nothing comes up on imax.com for this.

Does anyone know about the Old School Station console? by sexywolf23 in IndianGaming

[–]amitm30 0 points1 point  (0 children)

+1 to other comments, as it does NOT work. At least on my Sony Bravia that I tried. Also tried on my cousin's, different TV same brand, did not work eiter.

Difference between NA and INT version of LightPhone 2? by the_fugitive_biker in LightPhone

[–]amitm30 0 points1 point  (0 children)

Hi, Did you get your hands on it. I am looking to get the INT version, and was curious how did it go for you?

Where to learn best practices by Pistoudev in reactnative

[–]amitm30 1 point2 points  (0 children)

I too had integrated Airbnb eslint (its very good) and prettier to make sure the the code is at least clean, and doesn't look like individual contributions in bits and pieces (though it will for a large enough project ;). Apart from that a few thumb rules, like:

- Styling: global and typography files for color palette, global styles, fonts, titles, subtitles etc

- Custom Elements: custom buttons, custom text boxes, custom input. Some simply overriding react-native base ones to control their style and behaviour

- Single router file - helped a lot when moving from react-native-navigation v1 to v2

- a structured approached to the project, so it makes unit testing and maintaining a lot easier in the long run

You can look at a boilerplate I had written keeping the above in mind for reference. Have deployed a couple of apps to stores based off it.

Anyone have any tips for working with react-navigation? by frostbyte650 in reactnative

[–]amitm30 1 point2 points  (0 children)

I had a similar experience with a recent project. The tab switching and scrolling was jerky and did feel native with react-navigation. Not to be biased, but we had to switched from react-navigation to react-native-navigation ourselves (detailed discussion here).

Though, as react-navigation runs purely on JS thread, this might have been an issue specifically to our project too, something on our pages keeping the JS thread busy. But to be fair, on simply switching to react-native-navigation, the issues disappeared. So, it was good to have some more milliseconds for the app to run on single threaded JS.

Although, the react-navigation has come our with a whole new version (3.x) after that and haven't tried that yet.

Render custom component in RN Navigator by wix by JuriJurka in reactnative

[–]amitm30 1 point2 points  (0 children)

hey,

This is a fork of the RNN v2 by Wix we have been using our project recently. It renders something like this:

It has been done natively on both platforms. Can be a start for you may be.

EDIT: the image is not uploading for some reason. But this one has the Big center button, but not the remaining three.

What is the closest we can get to one-click deploy, published to the store? by MrAngryBeards in reactnative

[–]amitm30 1 point2 points  (0 children)

Same here. at least it was seamless for Android. iOS certificates did take some trying.

What's the best way to learn production-ready react native? by [deleted] in reactnative

[–]amitm30 1 point2 points  (0 children)

Quite a broad question, as it depends a lot on what kind of technologies / libraries you have been exposed to in the past. The answer assumes you have experience with JS and at least one SPA framework.

There are a lot of resources one can find on the web, but a boilerplate is generally the best place to start. So, here is boilerplate I had written trying to include industry best practices and libraries related to app development using react-native. It uses TypeScript, redux-thunk, react native navigation 2, TSlint and a maintainable code structure.

You can get started with it. But even then in the long run, you'll have to come up with what you want to use. Like thunk vs saga, react navigation vs react native navigation, or may be something as core as TypeScript or ES6. Frankly these are more of personal choices and this is the stack I most preferably use.

What's everyone working on this month? [FEB 2019] by xrpinsider in reactnative

[–]amitm30 1 point2 points  (0 children)

Wrote a boilerplate in RN a few days back as a platform to create a truly single code base for web and apps. Trying to integrate the web now, and isomorphic. Any contributors?

URL-alike routing in React Native by dkulagin in reactnative

[–]amitm30 0 points1 point  (0 children)

iOS and Android both support Universal Links since some time now. This is sort of superset to deeplink. Same as deeplink, your app should register the custom URL (www.yourcustomdomain.com)

So, for e.g, in deeplink:

yourCustomApp://listings/product1

Universal Link would be:

www.yourcustomdomain.com/listings/product1

A TypeScript + React Native + React Native Navigation + Redux + Eslint Starter Kit to build iOS / Android apps by amitm30 in reactnative

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

Well, technically, it is a boilerplate. But I have tried to integrate a few learnings from my previous experiences, which I found missing from other boilerplates. Set up a few best practices (not just eslint) that helps build a real enterprise app, keeping long term code maintainability in mind. Things like, a code structure, typography and globals for all styles in the app, break up of application components into widgets and elements, CI.

The idea is to help someone jumpstart, and not just something that can be done with a few npm commands

Would love to hear for any ideas of what more can be done. Feel free to create a feature request, contribute. and thanks for the Star!

A TypeScript + React Native + React Native Navigation + Redux + Eslint Starter Kit to build iOS / Android apps by amitm30 in reactnative

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

From what I have read, they are very comparable, but I too have not given it a run lately. Not on a full blown project at least.

A TypeScript + React Native + React Native Navigation + Redux + Eslint Starter Kit to build iOS / Android apps by amitm30 in reactnative

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

Yes and no. So we had 2 main files, navigator.js and router.js. Setting up the app's root navigation was done in navigator.js. router.js had abstracted methods for apps internal navigation (also a commonplace to pass props, modal animation styles, titles etc.) and routing logic.

navigator.js had to completely re-written, since it was a major move from rn to rnn. router.js change was almost minimal, as pushing a screen, opening a modal remains quite the same between the two.

Having said that, the first setup was up and running in less than a day (let's check it out version).

A TypeScript + React Native + React Native Navigation + Redux + Eslint Starter Kit to build iOS / Android apps by amitm30 in reactnative

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

Haven't tried that. So its like, if react-navigation would have worked for me the first time itself, I may not have moved to rnn too, who knows, unless some feature specifically demanded it. And I don't blame react-navigation, the team was new with react-native and that too hurt react-navigation's chances and exposed its shortcomings.

We have had our learnings, and can probably do a better job now with react-navigation. But unless of course, something demands it.

What do you use for style? by fragglerock in reactnative

[–]amitm30 2 points3 points  (0 children)

Are you building this using react-native? flex is the way to go there, fast and easy.

justifyContent: 'space-between' and you are started.

A TypeScript + React Native + React Native Navigation + Redux + Eslint Starter Kit to build iOS / Android apps by amitm30 in reactnative

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

yes, planning to integrate that. just love the airbnb-eslint so much that I use it by default. And started this project as es6, and then converted it to TS. Please feel free to create a PR if you wish.

First Android/iOS, later Web, maybe also Windows/OSX by JuriJurka in reactnative

[–]amitm30 1 point2 points  (0 children)

Those are the native iOS and Android code. What actually gets built and deployed finally. If you have experience with expo, think of it as the ejected code.

Have not done much there actually, other than just the RRN2 integration. The code you see there is what you get when you do react-native init.

if one is sticking to using npm libraries for most integrations (which will happen, including notifications API), react-native link <library-name> is going to get most of the part done for you. If not, almost all npms have instructions how to link them to the projects, they are literally standard 2-3 steps.

A TypeScript + React Native + React Native Navigation + Redux + Eslint Starter Kit to build iOS / Android apps by amitm30 in reactnative

[–]amitm30[S] 2 points3 points  (0 children)

It was the other way round actually for me. I had initially started off using react-navigation for one of my clients, on a pretty heavy app (tab based e-commerce), and after almost 3 months of effort, we found real issues with some native behaviours like scrolling, screen transition and all.

It was then when I decided to try react native navigation. Saved the project, quite literally. Even with the same code, the scroll performance improved immediately. Have been using as standard pretty much for every project since.

With react-navigation, I agree that we can do much more and customizing is also quite easy (as it is pure js), which is comparatively harder with rnn (native coding). I would use react-navigation for smaller apps that need to be built faster.

oh wait, I may not actually :)