Chenxin Yan
Chenxin Yan
> That's insufficient. Please look at the post and provide same details. Just updated the post. Thank you for helping!
> I've found your problem: > > ``` > { 'mason-org/mason-lspconfig.nvim', opts = {} }, > ``` > > `opts = {}` causes Lazy to run lspconfig.setup which in turn...
> My biggest question right now is around the `skip` arg. > > 1. Passing `{ skip: shouldSkip, ... }` or `"skip"` is redundant - ideally we start with just...
> @chenxin-yan I explored it in #262 (not making args missing, but unknown, since you want to do something like `useQuery({query: api.foo.bar, args: { userId }, skip: !userId })`. Unfortunately...
@ianmacartney Agree, and there should be a `requireAuth` option when initialing the convex client and user can override that with individual `useQuery` call with their own `requireAuth`
I confirm that after updating, the startup time becomes significantly slower.
> Great call. I think you’re right. We need to add this or something like it. > > I’m biased towards syntax like > > `usePreloadedQuery(isLoading? “skip”: preloadedTodos)` > >...
> Another thing that sticks out is now everyone will need to handle undefined even if they never use Skipp. We could solve this with an overload (not my favorite)...
@ianmacartney I just update the changes to what we've discussed. You were right. I don't see better way to handle capability other than overriding the function (which is what I...
> Here's an API I'm considering for the core `useQuery` which maybe can serve all purposes: > > ```ts > const { status, error, value } = useQuery({ > query:...