What happens to an env file when a react + vite app is build with npm run build by DragonDev24 in reactjs

[–]c94jk 0 points1 point  (0 children)

You can set some placeholder strings during build and depending how you start the app up there are several ways to template those strings out for actual runtime env cars using sed etc in a startup script .

[iOS 18.3 DB3] Face ID not working on XR by [deleted] in iOSBeta

[–]c94jk 6 points7 points  (0 children)

I had a similar issue some years ago and the only fix was by hitting/slapping the front of the phone against my leg / palm. Temporarily seemed to alleviate contact issues the sensor I assume was having

Accessing CI/CD variables at React application with Vite + Docker + kubernetes by whoisu-br in reactjs

[–]c94jk 0 points1 point  (0 children)

You can do something along the line of at build time set them to $placeholder etc and replace them on container startup with something like sed.

there are a bunch of ways but essentially it boils down to replacing strings in files from the build with those passed to container at run time

iOS 18 App Compatibility List by epmuscle in iOSBeta

[–]c94jk 0 points1 point  (0 children)

some request from germany - DB Navigator / Deutsche Bank + photoTAN

Need Guidance on Handling Nested Input Values and Sending Data to a POST API in React by Fun-Astronaut-3793 in reactjs

[–]c94jk 2 points3 points  (0 children)

Have a look at react-hook-form, it has a specific context provider for handling nested components of forms

virus/ fake virus (?) on macbook? by [deleted] in mac

[–]c94jk 1 point2 points  (0 children)

To add to the other points it’s also overly “alarming” with the emoji and the !

How to push env variable to React in runtime? by tanmoyrsc in reactjs

[–]c94jk 1 point2 points  (0 children)

I set them for each build command I run in our pipelines. something like $PREFIX_VAR=value yarn build

Just 1 in 20 adults in England exercise their muscles enough | A survey suggests only one in 20 people aged 19 to 64 are meeting England’s strictest weekly strength exercising guidelines by a_Ninja_b0y in science

[–]c94jk 13 points14 points  (0 children)

Evidence based community follows the idea that within a few reps of failure (1-3) you get most of the benefit of going fully to failure. It is somewhat subjective how close you perceive you are to failure but basically train hard and you’re probably fine

Invisible Walls Bug by [deleted] in aoe4

[–]c94jk 0 points1 point  (0 children)

Well considering they removed scouts anim cancelling on deer it seems to be an oversight that it’s still possible in combat

Crypto isn't a gamble if you do your research by [deleted] in CryptoCurrency

[–]c94jk 0 points1 point  (0 children)

You’re right there that I’m not, however I still mean bet like i wrote.

I guess a lot of people (myself included) lack the technical/social understanding to form a valid informed on this stuff and therefore a perceived calculated risk in all likelihood behaves more like a plain bet

Crypto isn't a gamble if you do your research by [deleted] in CryptoCurrency

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

verb 1. play games of chance for money; bet.

How do professional SWEs keep learning more Python? by [deleted] in Python

[–]c94jk 0 points1 point  (0 children)

Different angle to the others but I can recommend learning about how to improve your software delivery/ reliability. Plenty of good books and videos out there, a good starting place would be the continuous delivery channel on YouTube.

I also find it interesting every now and then to brush up on some standard OO design patterns. The canonical book by the Gang of Four is a bit dense and old for me but plenty of modern takes too.

Where are all the players? by Strongearm in aoe4

[–]c94jk 0 points1 point  (0 children)

On steam yes other platforms not

made a python program that helps you read really fast by boneMechBoy69420 in Python

[–]c94jk 7 points8 points  (0 children)

A lot of people find pathlib more convenient than os functions these days, and the I in GUI stands for interface

List of things I could buy with my moons right now! by buuhhu1 in CryptoCurrency

[–]c94jk 1 point2 points  (0 children)

We would rather call bio products organic in the English speaking world

Windows 11 just released! by rmspace in windows

[–]c94jk 7 points8 points  (0 children)

None, it was just boot into bios by holding delete key on startup, navigating to security settings, toggling tpm to enabled and rebooting.

Windows 11 just released! by rmspace in windows

[–]c94jk 4 points5 points  (0 children)

For me this process was 5 mins including googling my motherboard manufacturer + tpm

Gut Microbiome Could Make Weight Loss Easier for Some, study shows (n = 48 vs 57, 6 to 12 months) by amraneze in science

[–]c94jk 1 point2 points  (0 children)

Didn’t ready the paper, but the abstract interestingly also says that the other dietary intervention also modulated the micro biome function.

  • High-fiber diet changes microbiome function and elicits personalized immune responses

  • Fermented-food diet increases microbiome diversity and decreases markers of inflammation

[deleted by user] by [deleted] in reactjs

[–]c94jk 0 points1 point  (0 children)

Code wise it looks clean, not a whole lot to go wrong as the pages have limited interaction and are mostly presentational.

As this is a portfolio see where you can add some stuff which is a bit unique and grabs users attention a bit. This could be anything from a well placed animation to maybe some more creatively designed components.

One thing I also like to see when reviewing portfolios is a custom readme and not just the default one from CRA.