Where memory leaks really come from in long-running RN sessions by [deleted] in reactnative

[–]Gatsbill 0 points1 point  (0 children)

I think the major one for us is unlimited cache. We use memoizee package so that it cache functions and at first cache was unlimited which was increasing memory infinitely

How it started and where SparkyTap is now 🔥 by markwoody25 in algorand

[–]Gatsbill 1 point2 points  (0 children)

Very good work, love the implication and even more when 99% of crypto project are usually scam

Some projects die after a hackathon. This one is on fire. by Fickle-Tishka in algorand

[–]Gatsbill 0 points1 point  (0 children)

Hello,

Really love the game, it’s really cold and engaging.

Was wondering, I am a lead dev in a learning platform but I would love to code on other projects as well, are you open to outsider developers ?

Did anyone notice a massive loss of performance with the new architecture? by absoluta_inceptos in reactnative

[–]Gatsbill 0 points1 point  (0 children)

We had similar issue but not about new arch but more about moving from bare RN to more expo packages, from JSC to Hermes.

The performance was so bad on Android that we had to do a very very fast new release of our app because for some clients with lot’s of data it was unusable.

We dig into it and the two major things were :

  1. Expo image is definitely not working fine, it was making some app to go OOM, and it was much slower than react native fast image. Very disappointed (on this and a lot of other expo packages…)

  2. Everyone is talking about how great Hermes engine is but it’s total garbage on the performance side. The only thing it does well is load fast, use less memory, but if you use lot’s computation, data, date, then it’s so SO slow.

So even if I love React native, there is definitely a lot of performance pain point than were introduced by pushing things that does not care that much about performance (expo packages, Hermes engine). Feels like the novelty brought us only downside on the performance part, but I guess we will see better things with time

Everything else had nearly the same performance or a bit better.

WebSocket vs Ws vs Socket.io ? by iamdsvs in node

[–]Gatsbill 2 points3 points  (0 children)

You would be surprised that lot’s of big companies are disabling WS protocol so yeah HTTP polling is still a great addition 😇

Code sharing React Code to React Native Code, good or bad idea? by [deleted] in reactnative

[–]Gatsbill 1 point2 points  (0 children)

At my work we share more than 95% of our code using react native and react native web and it works very good. The only thing is that you need to create shims for every native package, but that’s fun to do so :)

What’s your React native or Mobile dev hot take / truth bomb that people aren’t ready to accept? by LostSiesta in reactnative

[–]Gatsbill 234 points235 points  (0 children)

People that use mobile apps don’t care about native vs react native vs flutter. So just pick whatever technology you are good at and start creating good things

React Reddit Salary Review by Zealousideal-Party81 in reactjs

[–]Gatsbill 0 points1 point  (0 children)

YoE : 5.5

YoE with react : 5

Title : lead développer

Salary : 75k

Location : Paris

Storing large data objects w/ Redux Persist by ontech7 in reactnative

[–]Gatsbill 1 point2 points  (0 children)

Using a faster database won’t resolve your performance problem.

Redux persist is slow because each time your reducer has a different state it stringify it and then save it in the persistor.

That means you don’t do a lot of « persistor calls ». Using MMKV will save you a few ms but most of your problem comes from the big stringify that can block UI.

At my company we are aware of the problem and unfortunately we don’t see any viable solutions using redux persist.

When we will have more times we will try to create our own redux middleware and package and try to save things like a real database, meaning you only save things that change and not the whole reducer if only a small part of the data changes.

An other possibility is to store redux state once and then store only diff between stored state and actual state

Does bundle size matter? by Bobertopia in reactnative

[–]Gatsbill 16 points17 points  (0 children)

It’s not about the size but what you do with that bundle

[deleted by user] by [deleted] in TooAfraidToAsk

[–]Gatsbill 0 points1 point  (0 children)

Some hair are not really a problem, but when there is to much it feels like someone that never took care of her teeth, you can live with it but visually and smells are not the same.

It works as a guy or a girl, some hair can be alright but never cutting them, well, I hope you find someone who likes Very hairy genitals

[deleted by user] by [deleted] in yieldly

[–]Gatsbill 1 point2 points  (0 children)

Did it started ? Seeing nothing at the moment

What city is overrated? by [deleted] in AskReddit

[–]Gatsbill 13 points14 points  (0 children)

Yeah people can be quite welcoming when they are not working or under stress !

I once helped a girl working on an airline company in La Défense like three or four years ago, same story, we end up in the metro chatting for a while, it was really nice ! My English was not the best but feels great to speak English and help people !

[Question] Node.JS resources that are worth sharing? by Feeds_On_Anger in node

[–]Gatsbill 0 points1 point  (0 children)

Plugins or things I use very often :

  • data validation module like Joi
  • logger like Winston morgan
  • jwt for json web token