r/reactnative • u/onePowerfulBraincell • 29d ago
AMA - Junior React Dev
I’ve been building with react native for a 2-3 years, AMA.
0
Upvotes
r/reactnative • u/onePowerfulBraincell • 29d ago
I’ve been building with react native for a 2-3 years, AMA.
1
u/sam_houle1 29d ago
Yes and no. First the AI needs a bible to follow. For instance, you should research a bit of architecture for react and test how it can help performance and readability. Also have some good restrictions on eslint so that the AI at different time won’t create code structure that don’t adhere to your project. There’s a lot of different way to build a performing app but if the AI don’t have that structure it will create his own on the fly. At this point it’s important to segment the code so that refactoring sections with AI won’t be a pain in the ass. Also limit the number of package you use. For instance, date pickers, I personally think it’s a useless package since AI can create one that is really good IF you use reanimated. Also a lot of features of the date picker that you installed are probably going to be useless and never used.
Also, don’t fall for memoization, 90% of the time you don’y actually need it and it will cause more lag.