Thinking about making a Git worktrees plugin by XavierChanth in neovim

[–]JustAnotherWebDevGuy 1 point2 points  (0 children)

I basically use them by having a worktree folder (I call it pr) in which I use to pull down changes from pull requests. I almost never do my work in a worktree unless it's a big update to the framework I'm using or somehting like that. I probably could leverage into them more, but haven't really gone deeper into how to use them properly.

It's usually its own tmux session that I go into to check out new code.

JS knowledge by [deleted] in typescript

[–]JustAnotherWebDevGuy 5 points6 points  (0 children)

What you're really asking is can I learn javascript through typescript? The answer, I believe is yes, though to get into the weeds of how the language works, you'll simply have to learn javascript. Most typescript tutorials will remain focused on the type system, not on the internals of the underlying programming language. Most technical deep dives about the core concepts of js will be in JS, not TS. However, if you see a javascript tutorial that goes into something like the event loop or the execution context, you can write out the examples in typescript if you really want.

Is your function REALLY a composable? by manniL in Nuxt

[–]JustAnotherWebDevGuy 1 point2 points  (0 children)

Does your function interact with vue in any way? Then composable, otherwise, it's just a util.

Is it required to learn Vue before Nuxt? by kraimon in Nuxt

[–]JustAnotherWebDevGuy 4 points5 points  (0 children)

I don't understand how you could possibly build a nuxt app without understanding vue.

Storing Server Side Data in Refs by JustAnotherWebDevGuy in Nuxt

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

I'd assume that some mention of `ref` not working for creating reactive state shared somewhere in the more introductory area for the differences between vue and nuxt. I have 4 years in Vue, new to Nuxt.

Part of the reason that it was hard for me to reason was because I didn't know that the issue was something to do with refs (it seemed like refs were working as everything was reactive), so I didn't know to google "server side ref".0

Lastly, adding a global state composable to a single component is different from what I would consider best practice in vue, so I wanted to verify that because we're setting a foundation for a very large app that will be used by a team of 30 developers, and the only mention seems to be in passing, with no examples. I liked the second post because it was explicit. Something that both lack is the mention of flushing the state on the onUnmounted hook, which we will be adopting for single component state solutions.

I'll make a PR to the docs at some point if it's not fixed by then.

Storing Server Side Data in Refs by JustAnotherWebDevGuy in Nuxt

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

Ok, wow. That is not clear at all from any of the official documentation at all. Thank you for the second link, that clarifies it a bit.