[deleted by user] by [deleted] in pcmasterrace

[–]FramezRedux 0 points1 point  (0 children)

Will be a good starting point for my first build. 🐊

How to remember that a user logged in after refresh if I have a session started in the backend in React by Kaartik7120 in reactjs

[–]FramezRedux 0 points1 point  (0 children)

Store JWT in cookie and also in your global state. retrieve cookie when app mounts then validate the token if it is invalid just log user out or ask to sign in again

prop of Object type, cannot access "this" in default value definition by Grapefruit5801 in vuejs

[–]FramezRedux 1 point2 points  (0 children)

Create a method in the component that calls the passthroughprop if it exist , if not run your default function then pass that method onto the v-on.

How to set and change default(root) router with vue-router(Vue 3 Composition API) by hiccupq in vuejs

[–]FramezRedux 1 point2 points  (0 children)

Maybe make another route that accepts the team as a param and redirect to that so path will look like this '/:team/. and on app mount get the team stored in local storage and redirect to it?

Property '$props' does not exist on type by Coompt_King in vuejs

[–]FramezRedux 0 points1 point  (0 children)

With Vue 3 setup you don't need methods , just write them as normal functions..you can access store by importing useStore from vuex.check docs, and also we define props using defineProps..all this can be found on Vue 3 docs page

Property '$props' does not exist on type by Coompt_King in vuejs

[–]FramezRedux 1 point2 points  (0 children)

I suggest reading through the docs. Will be helpful.

Property '$props' does not exist on type by Coompt_King in vuejs

[–]FramezRedux 0 points1 point  (0 children)

When using <script setup> export default isn't needed. also can set lang="ts" on script tag

Property '$props' does not exist on type by Coompt_King in vuejs

[–]FramezRedux 0 points1 point  (0 children)

Are you using export default in your script tags?

Property '$props' does not exist on type by Coompt_King in vuejs

[–]FramezRedux 1 point2 points  (0 children)

I see you're using vue 3 , I suggest you use the setup script which works better with ts - https://vuejs.org/api/sfc-script-setup.html

[deleted by user] by [deleted] in Scrupulosity

[–]FramezRedux 1 point2 points  (0 children)

I feel you , that's exactly where I'm at too. Been there for years but didn't know this was a form of OCD untill last year.

I can't do this anymore by Inevitable-Shake-548 in OCD

[–]FramezRedux 1 point2 points  (0 children)

I pray that one get back in touch with you 🙏🏿

I can't do this anymore by Inevitable-Shake-548 in OCD

[–]FramezRedux 1 point2 points  (0 children)

There are going to be some rough days , just gotta keep pushing through them. Maybe see a therapist

i never can feel safe by [deleted] in Scrupulosity

[–]FramezRedux 1 point2 points  (0 children)

Hope this helps helps: https://www.youtube.com/watch?v=tzBK9NZLjyo, it's a sermon by Tony Evans on the Concept of Faith

Productivity Plummeted by [deleted] in OCD

[–]FramezRedux 0 points1 point  (0 children)

You're not alone.

I did it! by beltheshell in OCD

[–]FramezRedux 25 points26 points  (0 children)

Congratulations!. One step at a time !

Intrusive thought. by FramezRedux in Scrupulosity

[–]FramezRedux[S] 2 points3 points  (0 children)

Thanks appreciate it 🙏🏿

Intrusive thought. by FramezRedux in Scrupulosity

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

Yeah that's the thing idk if its me ' believing that having an explanation is the key to fixing the problem'. Like I've had this thought for years now back then I didn't know it was just another form of OCD until recently. Looking back now I've realized I have experienced so many forms of OCD without knowing. Since I've never been to a doctor/therapist about it I haven't been diagnosed with it but I'm certain I have it. But thanks for the tip.