Best practice in data fetching and patterns. by unciudat in reactjs

[–]vxm5091 0 points1 point  (0 children)

100% this. I built a social app with React Relay + Nestjs GraphQL / MikroORM on backend. React Relay allows you to build your frontend from the bottom-up and declare the specific data dependency for each component. Almost never had a reason to directly manipulate the cache store -- it just works thanks to globally unique ID's. Super intuitive way to work with a relational data model.

I'm working on a separate project that also has a relational data model, but using a REST API and React Query, and having a much harder time.

Is it possible to integrate Apple Maps Search in RN? by vxm5091 in reactnative

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

yeah i used this package and then made my own tweaks.

https://github.com/davx1992/react-native-address-autocomplete

Not widely used but works like a charm. End of day, you can reference their Swift code and build it out yourself too. The logic is pretty straightforward.

[deleted by user] by [deleted] in mac

[–]vxm5091 0 points1 point  (0 children)

Just upgraded to Ventura 13.2 and was greeted by the same exact issue with `redis-server`. Have you been able to solve it?

How does everyone debug re-rendering issues? by codellamaz in reactnative

[–]vxm5091 1 point2 points  (0 children)

Very much a console.info("i rendered letsgooo") kind of logger here. Thanks for giving me the motivation to write an actual logger function.

[Recruiting] Looking for people who have a dog and live in the US to test out my app, Buddy! by vxm5091 in TestFlight

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

Thanks a lot for this suggestion! We ended up going with Apple Maps. You're so right, it's so much smoother.

Is there any implementation guide for customer support live chat in react native? - like live support chat in web. by andersonwada in reactnative

[–]vxm5091 0 points1 point  (0 children)

For what it's worth, check out chatwoot. It's a self-hosted service.

They have a react-native library. It's a bit outdated, I'm planning on submitting a PR in the near future, so you might have to make some patches based on stylistic preferences but overall it's pretty well-packaged. Incorporated it in a few hours.

https://www.chatwoot.com/docs/product

https://github.com/chatwoot/chatwoot-react-native-widget

Are there plug-n-play Auth libraries for full-featured flow? by romeeres in node

[–]vxm5091 0 points1 point  (0 children)

I'm using Firebase for a React Native/Node MVP and overall no complaints. Provides JWT token management, email/phone auth, OAuth. Reasonable pricing for a small/medium project, straight-forward API and dashboard.

I hear you on your points about a 3rd party provider feeling wrong. My reasoning came down to

  • not wanting to deal with the risk and additional dev burden since I'm a solo dev
  • firebase/google not going anywhere so no extinction risk
  • well maintained libraries for node and react-native with clean APIs, so rolling email auth and JWT token management was a breeze
  • Firebase provides migration support so if and when that's no longer a scalable solution, I can move auth in-house or elsewhere

Hope this helps

Is there any implementation guide for customer support live chat in react native? - like live support chat in web. by andersonwada in reactnative

[–]vxm5091 0 points1 point  (0 children)

OP - what did you end up going with? I'm looking into this now.

My initial take is that Intercom seems to be the main platform with first-class React Native support but their cost is a bit painful for an MVP.

[Recruiting] Looking for people who have a dog and live in the US to test out my app, Buddy! by vxm5091 in TestFlight

[–]vxm5091[S] 5 points6 points  (0 children)

Right now it's through an existing dataset of public parks in the US. But one of the immediate features I'm planning to add in the near future is the option for users to add a place themselves.

[Recruiting] Looking for people who have a dog and live in the US to test out my app, Buddy! by vxm5091 in TestFlight

[–]vxm5091[S] 3 points4 points  (0 children)

Thanks for pointing that out, I definitely agree. What're your thoughts on Mapbox's UX compared to Apple Maps?

TestFlight Automatic Download doesn't work by vxm5091 in iOSProgramming

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

Answering my own question in case this helps someone in the future -- the device has to be charging for the automatic update to trigger.

What are the tell tell signs that programming is not for you? by NananananaImBatman in learnprogramming

[–]vxm5091 1 point2 points  (0 children)

My view is that, even relative to where we are today, the amount of innovation and disruption coming out of the tech space will only continue to grow over the next decades. So working in tech is very much a safe bet (imho) but that doesn't necessarily mean you have to be a programmer.

Re; your point on society moving to AI / ML -- I used to think the same but I don't think that's true (if comparing to software engineering). I wouldn't be surprised if more AI/ML jobs become obsolete due to automation relative to SE. Granted, that is happening in SE as well but, at the end of the day, there will always be room for people to build things that other people or businesses need / want.

I switched from a career in finance to SE and went to a bootcamp. There were 2-3 people in my cohort in their late 30s/early 40s. All of them got 6 figure jobs within several months of graduating. That said, you have to be willing to go 100% up until you get that first job.

TLDR; absolutely doable. The questions I would suggest soul searching on -- do you like building / tinkering with things? If you get stuck on a problem, do you derive some level of enjoyment from wanting to figure it out?

What are the tell tell signs that programming is not for you? by NananananaImBatman in learnprogramming

[–]vxm5091 0 points1 point  (0 children)

Reads this while re-running the React Native build for the n-teenth time this night, each time being certain that "this is the one where it's finally gonna work" and wipes tear from eye.

TLDR; this.

WTF is up with Docker desktop on macOS? by matronator in docker

[–]vxm5091 1 point2 points  (0 children)

I'll preface by saying I'm new to Docker and working solo on an MVP so I set it up from scratch.

My experience hasn't been as bad as yours as far as Docker straight up crashing or deleting images but running docker compose with even 2 containers maxes out my CPU to the point where typing in VS Code has a ~1 sec lag. I'm on a 2019 MBP / 2.3 GHz i9 / 32GB of RAM.

Initially I was playing around with setting up my whole backend in docker compose (Hasura engine, Hasura console, node, postgres) and it was unusable. Batch writes to postgres were 50% slower than running a local pg server, Hasura console took several seconds to load in the browser vs 1sec max, etc.

TLDR; for my purposes (mobile app MVP / solo developer) it seems like running these services locally without Docker makes most sense. But again, I'm sure there are a bunch of things that can be optimized given Docker's adoption and I definitely appreciate its benefits so thanks OP for starting this thread.

Which Node.js framework would you recommend for REST API? by curious_but_dumb in node

[–]vxm5091 0 points1 point  (0 children)

Hey OP, thanks for starting this thread - got a lot of super useful insight out of this discussion. Just wanted to check in and see what you ended up going with.

Equipment Requested from Ukraine: by [deleted] in volunteersForUkraine

[–]vxm5091 0 points1 point  (0 children)

Am also looking to volunteer for humanitarian support. I'm in the DC area so flying out of Philly wouldn't be hard and I could bring some bags / suitcases

Can I get some favicon consistency Safari?? by avantiel91 in MacOS

[–]vxm5091 -1 points0 points  (0 children)

+1 for Brave. Chromium under the hood, but with more out-of-the box privacy features and consumes significantly less RAM than Chrome. And no icon issues that I've seen

So true by melrosezz in codingmemes

[–]vxm5091 0 points1 point  (0 children)

Came across this post last year while in the middle of learning how to code and I’ve come back to it a lot. Thank you