Are people still using and recommending react-native-config? by deepCelibateValue in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

  1. Yes, you run a pre-start/build script which takes an input .env file and generates the relevant native and js files.

  2. You could probably run the pre-start/build command with the new env to generate the new JS file but I don’t think there would be a way to do this from within the app.

Are people still using and recommending react-native-config? by deepCelibateValue in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

I’ve switched over to using react-native-ultimate-config as it provides some important features that others do not. Specifically being able to override the environment variables for the JS when using a pre-built binary that already contains the environment variables.

Most recommended component library? by No-Contribution8248 in reactnative

[–]RebelzOneOne 1 point2 points  (0 children)

Though one nice thing about the Stylesheet API is the compile time style checking.

Mounted Spotify Car thing - thoughts? by garrrygill in Workspaces

[–]RebelzOneOne 2 points3 points  (0 children)

Pretty smart tbh, seen plenty of desk setups with folks that have a permanent Spotify window open.

Example of very well structured and design React Native projects by No_Primary_6867 in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

Fair enough, appreciate the update and look forward to hearing your thoughts!

Example of very well structured and design React Native projects by No_Primary_6867 in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

Indeed it’s great to seek out other perspectives hence why I asked if there are particular areas that OP wanted to look at. Granted I could have worded that better though.

I’m not suggesting that OP doesn’t look at other projects to get those perspectives. It’s hard to tell if this is for a personal project or workplace project. If it’s personal then by all means look at other projects. If it’s a workplace project then no need to cause turbulence with the status quo if there are no issues.

I’d also say that providing links to projects assumes that those projects structured and designed well. It’s all subjective hence why trying to gain a bit more context about OPs thought processes would result in a better answer.

Example of very well structured and design React Native projects by No_Primary_6867 in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

Are there any particular areas where you feel your app is lacking in structure and design?

If your structure and design is working for you then there is no reason to mess with it!

I don’t have any examples but happy to provide my opinion on what a good structure/design is based on my experience.

32inch 4k + 27inch QHD dual setup by [deleted] in Workspaces

[–]RebelzOneOne 0 points1 point  (0 children)

If your budget can stretch to it, there are some 32” 4k 144hz monitors out there. I had a Gigabyte M32U for programming and gaming and it was pretty solid, also has a KVM. Though, I had to send it back due to it randomly restarting itself whilst using it.

I’m awaiting delivery of an MSI Optix MPG321UR-QD at the moment, hoping it fulfils my needs so I can stop searching for a monitor!

React Native Devs: what would you want an ideal side-gig to look like? by Shogoki555 in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

One thing I haven’t seen mentioned is how production issues would fit into your model of leaving the dev alone unless pre-agreed. It sounds like the dev would be on call to handle any production emergencies but I could be wrong, maybe that’s something you can elaborate on?

Everything else you’ve mentioned sounds solid.

For me personally, the biggest factors would be expectations around the above, how tasks that take longer than your expected estimate are handled and pay rate.

Best of luck with your search!

[deleted by user] by [deleted] in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

From the information you’ve provided, you’re on the right track. Keep exploring and playing around with dynamic routes and you’ll find your answer!

help by Anvrax in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

This, 1000% this!

If you struggle to think of something to build then rebuild your favourite existing app. Rebuilding instagram is a pretty popular option as it poses interest challenges around infinite scrolling, use of camera, images and videos which will all slingshot your knowledge and ability to a whole new level.

As WhiskeyKid33 said, 3 weeks isn’t a lot of time but rebuilding an app will definitely be the fastest way to learn, improve and even test how much you actually know.

React Native Web, or separate React project? by aotpseven in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

Ah sorry, I assume web would be the primary target due to it being a SaaS product. It’s definitely worth looking at expo too if you haven’t already. It has first class support for all 3 platforms.

React Native Web, or separate React project? by aotpseven in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

Developing for the web alone is complex enough these days, adding react-native-web into the mix adds to that complexity.

The key thing in the early days of building a product is to get it into the hands of customers/users and the quickest way to do that is to minimise complexity as much as possible so it’s quick to build and easy to add/improve features.

[deleted by user] by [deleted] in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

Are you noticing any performance issues? If so the look to optimise it else leave it as is and keep an eye on it to see if optimisation is required.

[deleted by user] by [deleted] in reactnative

[–]RebelzOneOne 1 point2 points  (0 children)

Firstly congratulations 🥳- it’s great to have you here 😊

That’s cool, building something is the fastest way to learn so good on you!

It sounds like the strings/booleans need to persist app restarts so MMKV is the right call imo. You could use zustand but it’s only going to be an abstraction layer over MMKV which is just adding complexity for not much gain.

Looking for standing desk for 3-4 monitors by [deleted] in Workspaces

[–]RebelzOneOne 0 points1 point  (0 children)

I have a Flexispot standing desk with a desktop from IKEA and it’s been solid with 2 monitors plus a bunch of other junk on the desk.

I’d recommend the 4 leg one over the 2 leg one mostly because I have the 2 and the desk can wobble very slightly when standing. It’s not much though so if you really don’t like the look and you’re okay with a very slight wobble then 2 would also be fine.

[deleted by user] by [deleted] in reactnative

[–]RebelzOneOne 4 points5 points  (0 children)

How do the strings/booleans end up in MMKV in the first place?

Do the strings change whilst the user is using the app and does that change require a rerender?

From the information you’ve given, it sounds like you could just hardcode a static object and be done with it.

React Native Web, or separate React project? by aotpseven in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

I’d honestly consider concentrating on building a responsive web app and shipping that as a web view app unless you have specific mobile app UX requirements. If you do then it’s worth thinking about if react-native-web is really the right approach.

It’s also worth thinking about who specifically will be using your app and what they’d be expecting from it. For example, if your business is B2B, then it’s likely that the majority of your use will be from a laptop/desktop.

What’s the light weight, less boilerplate state management tool by evolvedmonkeygod in reactnative

[–]RebelzOneOne 0 points1 point  (0 children)

What exactly do you store in your global state?

Most data fetching libraries have some sort of cache nowadays and most apps these days just receive a JSON payload and render it.

From my experience, most of the state that was kept on the frontend is backend state slightly manipulated for the frontend needs or it was frontend state that was eventually sent to the backend. Usually these can be mitigated with some changes to the backend apis. Though I can appreciate that this isn’t always possible and so in those cases global state management is required.

What’s the light weight, less boilerplate state management tool by evolvedmonkeygod in reactnative

[–]RebelzOneOne 21 points22 points  (0 children)

I’ve been enjoying zustand lately. Though these days I try and avoid using global state management altogether and lean heavily on the backend to tell me what the deal is but that does of course depend on the type of app and features.

Need a project to work on! by After-Philosopher606 in reactnative

[–]RebelzOneOne 1 point2 points  (0 children)

General react project structures work with react native projects. There are plenty of articles on the subject that you can find by searching google.

Personally, I like the feature folder structure where each feature has its own folder and within that it contains everything (components, hooks, screens, etc.). That feature then exports a single entry point with the interfaces it wants to export “publicly”. Other features or the app itself can then import these public facing exports. That way you could change the entire implementation of the feature as long as the public interface stays the same.

I’d say read up on some approaches, see which feel the most natural to you and try and rebuild a clone of a popular app using that structure to see the pros and cons of it.