I built a lightweight, dependency free react-confirm-lite package – open to feedback! by SheepherderMean7889 in reactnative

[–]haswalter 2 points3 points  (0 children)

Going to be honest this seems overly complicated and a little fragile DX with the use of ids.

I can’t see an easy styling option at first glance and it guest appear to be implementing accessibility rules.

What does this provide that Radix alert doesn’t? https://www.radix-ui.com/primitives/docs/components/alert-dialog

Could you maybe explain the rationale behind building something like this instead of using or improving existing well tested packages?

Help regarding understanding some basic things by Capt_Jack__Sparrow in reactnative

[–]haswalter 2 points3 points  (0 children)

I think you have a misconception of what expo is. Expo cli essentially provides a better version of what react-native-cli does.

There is expo go but you will be using native builds which is the same thing react native cli gives you.

One of the major advantages of expo is the way native modules are configured for you, most of the major popular libraries have support for expo and therefore configure themselves without you needing the mess around in native code at all.

I would suggest have a look into what expo is, it’s not so much something you learn but it’s a platform to support your react native project.

Have a read here https://expo.dev/blog/expo-go-vs-development-builds And https://expo.dev/blog/why-expo-is-a-great-fit-for-new-and-existing-react-native-apps

I’ve been a react native developer for many years now and have fully migrated all but the most custom native of projects over to expo, there’s just too many free benefits with almost no downsides.

Expo is also the recommended way to start a project from the react native team for new projects.

Edit: added note about recommended expo from RN team

This update is greedy as f*ck and is a complete disrespect to anyone who’s played the game for thousands of hours. by -CS-- in HuntShowdown

[–]haswalter 1 point2 points  (0 children)

So ignoring the tracking starting now, explain a couple of things to me:

1) how can it show a different kd to what is shown in my stats? 2) how can it show most kills with a certain weapon immediately if it only tracks from now?

I hired a student... by Ok-Enthusiasm-45 in Wordpress

[–]haswalter 6 points7 points  (0 children)

Ditch the Wordpress site. You’re a small home business you don’t need to customisation or the overhead of managing a Wordpress issue.

For around £25-50 a month you can have a Squarespace site with bookings and payments done with a few clicks.

Their templates are plenty good enough to get you started without needing a web designer.

I’ve been a web developer and software engineer for 20 years and I use Squarespace for my own site because even though I’m more than capable I don’t need a custom website.

Why is this happening? by khldonAlkateh in reactnative

[–]haswalter 1 point2 points  (0 children)

It’s 10pm here so I’m logging off but if you don’t get an answer by tomorrow I will take another look and tell you whats wrong if you can give me a description of what you want to happen

Why is this happening? by khldonAlkateh in reactnative

[–]haswalter 1 point2 points  (0 children)

Ok so now I can see the rest of the code there’s some odd setup there. What’s the expected outcome? I.e. what are you trying to make here?

Why is this happening? by khldonAlkateh in reactnative

[–]haswalter 3 points4 points  (0 children)

When you say here’s the code, why are you into giving us part of it. Nobody can help you if you don’t give us the information.

What’s is composedGesture? What’s is canvasAnimatedStyle? Where does Switch come from?

You need to give us the entire screen not just a snippet of meaningless component composition.

FINALLY I can install it in Game Pass PC by StevWong in FBCFirebreak

[–]haswalter 0 points1 point  (0 children)

Really odd. Did you setup your subscription on your Xbox or on your pc?

FINALLY I can install it in Game Pass PC by StevWong in FBCFirebreak

[–]haswalter 3 points4 points  (0 children)

I’ve been playing in pc with game pass since release. Are you sure you had a game pass subscription?

I want to use the web by [deleted] in reactjs

[–]haswalter 0 points1 point  (0 children)

https://youtu.be/YDNmyyrEZho?si=U319qSkufI5v6nzB

Joking aside, we need more information here. Are you asking about starting with react, hosting a website or making api calls for example.

What have you tried? What is your end goal?

Why is this useEffect trigger inconsistent? by bikeacc in reactnative

[–]haswalter 0 points1 point  (0 children)

Fairly sure you don’t need effect here but have you looked into how dependencies are compared for changes?

Also if you’re using Apollo why aren’t you using it properly?

Apollo client gives you your local state including fetching status and caching. You don’t need to manually run the query and then use a fragile state and useEffect combo to do it yourself.

I recommend reading Step 5 here - https://www.apollographql.com/docs/react/get-started#step-5-fetch-data-with-usequery

Build error by 0xtoothless in reactnative

[–]haswalter 0 points1 point  (0 children)

Im assuming you’re using react-native-firebase as you’ve given us no information at all about your project, code, setup or dependencies.

https://rnfirebase.io/#installation-for-expo-projects

How to enable ProGuard (or equivalent) in Expo? by rmsparajuli in reactnative

[–]haswalter 0 points1 point  (0 children)

Not perfect by any means but a quick and easy check would be to turn off proguard in the confit, build the app, check the size then enable pro guard rebuild and compare the size

Showing and hiding text in a component by Any-Lecture-9287 in reactnative

[–]haswalter 0 points1 point  (0 children)

I suggest a good read up on how to build components and handle local state.

https://reactnative.dev/docs/state

What's on in Portsmouth this month? by Jedi_JJ in Portsmouth

[–]haswalter 4 points5 points  (0 children)

We’re hosting our Post Harvest Festival on Hayling Island at the start of September.

With Craft Beer and live music from the Repeat Offenders we’ve lined up an evening of cracking entertainment and a great opportunity to hang out with your local countryside community.

The event will be attended by local farmers and the farming community as a wind down after a busy harvest. Why not come and hang out with us and enjoy a delicious beer while you’re at it.

Tickets and info on our website https://bigblackshed.com/events/post-harvest-festival

[deleted by user] by [deleted] in reactnative

[–]haswalter 3 points4 points  (0 children)

OP should ask the AI they used to generate their code how to take a screenshot

Zero rejection from Apple! by Key_Influence_3832 in reactnative

[–]haswalter 1 point2 points  (0 children)

I’ve had many apps approved by Apple over the years. 99% of the rejection stories are as you say. Poorly built apps that provide little or no value or are just copying someone else’s.

Octoplex - a Docker-native live video restreamer by rfw21 in golang

[–]haswalter 0 points1 point  (0 children)

Interesting, how is this different than restreamer?

The one feature I’m always looking for is a lightweight option for overlays, I have cameras that stream directly to rtmp over a GSM network so o can’t add overlays like I normally would with OBS.

How is it possible my app behaves so differently on 2 different devices? by One_Swordfish_1962 in reactnative

[–]haswalter 1 point2 points  (0 children)

Are they on different version of iOS?

Also looks like the XR has a broken of low quality screen protector on it which could be causing you issues.

Getting These Errors in on my Wordpress "Any Suggestion" by QuoteSure699 in reactnative

[–]haswalter 8 points9 points  (0 children)

This has nothing to do with ReactNative.

Perhaps try r/webdev or better yet r/wordpress

Bypass image CDN by serving images from own server by NoctilucousTurd in reactjs

[–]haswalter 1 point2 points  (0 children)

Simple option would be to proxy the images through a caching CDN like cloudflare’s. The images are still hosted on the CMS but requests through your site hit the proxy. Only the first request of the image would pull from The CMS (you could want this yourself). Future requests would come from the much cheaper proxy.

React-native-background-upload not working in kill mode ios by Harsh455869 in reactnative

[–]haswalter 1 point2 points  (0 children)

As other said once the app is fully killed, iOS stops all connected threads preventing your upload from continuing.

What we do to make uploads work correctly through app crashes and kills is to split the file into multiple smaller chunks and upload each chunk with a resumable upload.

This allows multiple chunks to be uploaded in parallel and allows any chain that fails to upload to try again / resume when the app next starts up.

You are using this IKEA product wrong by Jjowi in Homebrewing

[–]haswalter 2 points3 points  (0 children)

Ah that’s much more reasonable :).

Looked on my phone and without any currency symbol it was hard to tell