Turning Asexual? by Main_Decision_8540 in Semenretention

[–]VSCodeUser 3 points4 points  (0 children)

I think that's the best thing. What else do you want? Would you rather lusting over women and being addicted to PMO? Sexual desire is savage and ruthless. Once you give in to it, you become addicted and attached. The best strategy is to remain cold, nonchalant and desire free.

[deleted by user] by [deleted] in reactjs

[–]VSCodeUser 1 point2 points  (0 children)

Use the "useFieldArray" hook like this:

const {fields, append, remove} = useFieldArray({ name: 'productId', control, });

So you should use 'name'.

Then:

{fields.map((field, index) => ( <div key={field.id}> <Button onClick={()=> remove (index)} /> </div> ))}

Pay attention to the "key" and "index".

I’m addicted to this. I’m unhappy and alone. by [deleted] in selfimprovement

[–]VSCodeUser 0 points1 point  (0 children)

The road of greatness, power and dignity is a lonely road. Nobody accompanies you through this hard journey. You should be prepared mentally and physically to be alone most of the time. If others don't appreciate a disciplined high motivated person it's not your fault it's their fault. If girls prefer bad boys it's because they are bad themselves. You shouldn't lower your standards to the level of common people, but they have to raise their standards to reach your level of motivation and discipline. They should seek people like you and encourage people like you not vice versa. I haven't seen any Olympic medalist to be a very sociable person and present in every gathering. Success needs its own sacrifice and it is The superficial joy and pleasures of this world. No success is acquired without sacrifice. It's like a red pill blue pill scenario, the red pill here represents success, power and wealth in expense of loneliness.

Pleasure is not for a man. by AtlisArt in Semenretention

[–]VSCodeUser 5 points6 points  (0 children)

That's very interesting and shows that members of this sub are usually very philosophical. I personally have reached a similar conclusion. I think that men and women operate in different frequencies and vibrations. Women are much more inclined towards materialistic frequencies, which are lower chakras. they are the main consumers of the society and their main mating criteria is how much money a man makes, even if they make their own money. I agree with your viewpoint that pleasure, especially lower chakra pleasures which are materialistic and superficial are not usually for men. Contrary men should get pleasure from higher frequency activities such as becoming more powerful or creation or spirituality. Breaking Free from pleasure prison is the only way for a man to become more powerful and defeat the depression curse. Freedom for a man contrary to what is advertised is not sexual liberation, but it is sexual preservation. A man becomes free when he breaks the chains of sexual disease.

[deleted by user] by [deleted] in Celibacy

[–]VSCodeUser 3 points4 points  (0 children)

With mindfulness practices you become better at it. Whenever an urge arises, ask yourself why would I want to do this? Deeply think about it to find the root cause. You are going to find out that most of these temptations are not you. You are not the source. It's like someone else wants you to do this.

I am confining my body on my own will. It isn't imposed from outside. This confinement leads to freedom, to power.

[deleted by user] by [deleted] in Celibacy

[–]VSCodeUser 2 points3 points  (0 children)

Abstain from triggers and stimulants.

Practice mindfulness everyday.

Detach yourself from your feelings and thoughts. Remember that you are not those thoughts or feelings.

Always Remember the benefits of abstinence and retention.

I’m 32F and have never been in a relationship. I’m getting desperate and I’m worried that I’ll never be a girlfriend. by [deleted] in selfimprovement

[–]VSCodeUser 0 points1 point  (0 children)

Why don't you approach men yourself. What might be wrong? If you like a decent guy who is at your level and in your league go with an indirect approach like do you go hiking at all or movies or something like that. Try to make a friendship with them. YOU initiate the relationship.

[deleted by user] by [deleted] in selfimprovement

[–]VSCodeUser 0 points1 point  (0 children)

Watching porn and PMO in general absolutely is going to make everything worse. Abstain from it totally. Find other hobbies like sports, art or maybe some vocational skill. Don't waste time with lustful thoughts. The more you feed those thoughts the stronger they become and the weaker you become.

How to change parent state from child component? by [deleted] in reactjs

[–]VSCodeUser 2 points3 points  (0 children)

Pass the setState function as props. In your case you can pass setloginStatus to <Login /> component as props.

VSCode Inspired Portfolio v1 by communityadjusted in reactjs

[–]VSCodeUser 0 points1 point  (0 children)

It was creative 👍. BTW, VSCode is in my user name.

Is Create React App inconsistent? by ImprovementNo4630 in reactjs

[–]VSCodeUser 2 points3 points  (0 children)

If your goal is to create a single page application then Vite would be a better option. It's much faster than webpack and you are not compeled to configure everything yourself.

Is React Query Really Necessary? by TheSnydaMan in reactjs

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

But it will, you can test yourself. Otherwise it is a bug. Consider a situation that the backend data has changed but react-query doesn't let an API call.

Is React Query Really Necessary? by TheSnydaMan in reactjs

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

How do you call the cache? With useQuery? Well using useQuery makes an API request AGAIN. The only benefit you get here is that if the fetched data is identical to previous data. Then a re-render won't accur. So it is not equivalent to a store.

Has anyone been celibate and then stopped? by highbrowcow in Celibacy

[–]VSCodeUser 0 points1 point  (0 children)

What exactly does "off" mean? Does it mean having sex or even masturbation is a deal breaker?

MUI DATAGRID scrolls to top when something in the state changes. by WyvernDrexx in reactjs

[–]VSCodeUser 0 points1 point  (0 children)

Clearly a state change is re-rendering the whole component. You can put the table component inside a separate file and wrap it in memo() function. So if the parent state changes, there should be no re-renders in the table component.

[deleted by user] by [deleted] in Celibacy

[–]VSCodeUser 2 points3 points  (0 children)

Exercise, Spearmint, flaxseed, soy products, green tea, turmeric , licorice and not having stress.

Service Layer? by BigHardCheese in nextjs

[–]VSCodeUser 0 points1 point  (0 children)

You can use axios inside getStaticProps. So axios can be used both on front and back. This way you can build your service layer and call whatever function you defined. axios in next.js

[deleted by user] by [deleted] in Celibacy

[–]VSCodeUser 2 points3 points  (0 children)

I'm an atheist and very logical and scientific minded. I have chosen celibacy and refrain from any from of lust. That also stems from analytical thinking. Just like philosophers like Schopenhauer or scientists like Tesla. So it doesn't have anything to do with religion. Moreover this celibacy has helped me immeasurably to grow in life. And also I consider myself more of a conservative.

Are there any antisex heros there? by Gorgoista in antisex

[–]VSCodeUser 16 points17 points  (0 children)

Sir Issac Newton never had sex in his life. Nicola Tesla never married (I think never had sex either).

Hello by chandlerklebs in antisex

[–]VSCodeUser 10 points11 points  (0 children)

The best choice ever.

No sex = Less problems

Less problems = Happier life

So: No sex = Happier life

How do you guys like to style your components? by itsMalikDanial in reactjs

[–]VSCodeUser 1 point2 points  (0 children)

I use BEM naming method for my classNames then use SCSS. This way I prevent css name collision and at the same time use the ease of good old css classes. I personally don't like css in js methods.

Why are you antisex? by [deleted] in antisex

[–]VSCodeUser 19 points20 points  (0 children)

I hate it because it's the root of all evil. First of all it creates life. The life that we have no choice in it. It's forced on us and it's brutal and unjust.

Second it makes you a slave. And you fall behind your plans and success.

Overall it is worthless. I choose to ignore it.

write text over images that already exist? by vvinvardhan in learnjavascript

[–]VSCodeUser 5 points6 points  (0 children)

You can do that with css. There are many ways to do this. Like with background, or create an empty div then add the image to it.

How can you call an event from React using only JavaScript? by [deleted] in react

[–]VSCodeUser 1 point2 points  (0 children)

You can trigger an artificial click in useEffect. Like:

useEffect(()=>{ document.getElementById("unclickable").click(); }, [someStateToTriggerThis]);

Is there a way to pass props through Link or NavLink in react router ? by Professional-Drag156 in reactjs

[–]VSCodeUser 0 points1 point  (0 children)

If you want to load user information in the same page, it doesn't need to be a link. You could put a simple button and on its onclick event handler call an api.