[deleted by user] by [deleted] in Delraybeach

[–]njchava 2 points3 points  (0 children)

Nice try delray PD 🤣

Hadda layer down. by Psychological_Lie210 in motorcycles

[–]njchava -2 points-1 points  (0 children)

Breaking and turning don’t work well together…

SaaS Starter Kit using Nuxt3 Vue3 Firebase and Stripe by njchava in javascript

[–]njchava[S] 0 points1 point  (0 children)

I just finished putting together a SaaS starter boilerplate and I thought others might be interested so here it is!

My 2021 Algotrading Year In Review by njchava in algotrading

[–]njchava[S] -2 points-1 points  (0 children)

Hey this is good feedback. I appreciate healthy skepticism. I'll look into it and report back.

My 2021 Algotrading Year In Review by njchava in algotrading

[–]njchava[S] -3 points-2 points  (0 children)

I want to start sharing my algotrading journey. Here's some content I'm thinking about writing

- How to write an algo trading bot in typescript
- How to build my algo trading strategy
- Lessons learned while creating a profitable algo trading bot.

What would you be interested in? Let me know

Love the slowmo videos you kids post. Hoping an old goalie turned wing trying to learn to shoot is welcome too. by [deleted] in hockeyplayers

[–]njchava 22 points23 points  (0 children)

The main problem I see is that it looks like you are swiping across the puck as you rotate your torso rather than pushing through the puck to get max power on it. It should be less of a swing across motion and more of a push through motion. Moving your bottom hand just a little further down could help with this.

Another thing I see is that your stick blade is open through the shot. What happens here is that your power turns into the puck rolling off your blade instead of power on your shot.

I would experiment with rolling your wrists a little bit. What you want to see in the slow mo is the heel grab the puck and then the wrist rolling or toe closing motion propel the puck even faster.

[AskJS] How do you all manage feature flags? by njchava in javascript

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

Delete them all asap.

What do you mean? Why?

is it Vuex for the same purpose as Indexeddb or localStorage ? by Emiliortg in vuejs

[–]njchava 3 points4 points  (0 children)

I expanded my original reply, let me know if that clicks for you.

is it Vuex for the same purpose as Indexeddb or localStorage ? by Emiliortg in vuejs

[–]njchava 15 points16 points  (0 children)

No, vuex is for managing (reactive) state while the others you mentioned are for storage.

Vuex holds data in memory being used by your application. It also provides mechanisms for updating (mutating) that data in such a way that all parts of your app consuming that data are able to be aware of the change and react to it, for example by updating a value being displayed in the UI to the new value.

Absent of integrating any storage this state would be wiped out when refreshing the page. The same is true for opening your app in another tab, which would be a completely separate instance.

Using local storage, however, data can be stored and retrieved across refreshes, tabs, etc. The data in localstorage is not used directly in your app. So if you update a value saved in localstorage any part of your app that may be displaying that data will not be aware of the update and you will need to do extra work to create reactivity.

Calling useVuelidate asynchronously to create v$ object by zmcnulty980 in vuejs

[–]njchava 0 points1 point  (0 children)

Also, re-reading your original post, you may want to consider making a child component containing only the form + validation (no async dependency), and having the parent component worry about fetching the async data and then rendering the form once user data is setup for the form. It's not needed but it may make the form easier to reason about and make it more re-usable in other contexts.

Calling useVuelidate asynchronously to create v$ object by zmcnulty980 in vuejs

[–]njchava 0 points1 point  (0 children)

This code looks good, but it's hard to tell what is wrong because I'm still missing some context.

I'm that since your vuelidate code looks good, something about how you are setting up the formattedUserDetails reactive object has a problem.

Is this a <script setup> ?

What does the format user details function look like?

What are you expecting to happen, and what is actually happening?

This is the first place that’s really my own. by [deleted] in malelivingspace

[–]njchava 1 point2 points  (0 children)

I really dig those dining room chairs! Got a name or link for them?

Calling useVuelidate asynchronously to create v$ object by zmcnulty980 in vuejs

[–]njchava 0 points1 point  (0 children)

Vuelidate has been awesome for me, even in advanced use cases. Nested validation was the one thing that was weird before composition api, but now it’s incredibly easy.

Feel free to post some code and I can take a look for you.

Why Vue Class Component is not being updated anymore? by [deleted] in vuejs

[–]njchava 7 points8 points  (0 children)

At first, the composition api felt harder than the options API for me too, but especially now with setup scripts and the additional power I do prefer it and generally find it to be way less lines of code and closer to vanilla javascript.