Donatas
Donatas
Try passing the `revalidateOnMount: false` option to useSWR hook from the docs: > revalidateOnMount: enable or disable automatic revalidation when component is mounted
@CarlosAguilarOrtega hmm, i suppose that this is the expected behavior I guess you could keep the `revalidateOnMount: false` and then manually mutate in the useEffect: ```typescript const { data, mutate...
just want to note here that in the **oil buffer**, the **branch name is empty** and not shown this is the part that gets the incorrect dir https://github.com/nvim-lualine/lualine.nvim/blob/0a5a66803c7407767b799067986b4dc3036e1983/lua/lualine/components/branch/git_branch.lua#L78 I think...
I am porting react's `swr` library to solid `solid-swr` and without createResource I can't add suspense support to my hooks. Just want to mention that this would help me add...
This is how I am currently abusing the `createResource` hook to enable suspense for my library, it works but feels like such a hack though: ```ts /** * monkey-patches the...
bumping this as I just ran into this as well
what I am using right now is `mergeRefs` + `createEventListener`: ```ts const onInput = () => { if (local.value && context) { context.setSelected(local.value); } }; createEventListener(() => ref, "input", onInput);...
@thetarnav oh wow, did not know about `combineProps` and `chain`, very useful
If anyone wants these changes already, I created a separate plugin that patches the lualine components and exports them https://github.com/Tronikelis/lualine-components.nvim
@shadmansaleh > If I understand correctly with this enabled branch component shows git branch based on which directory you have opened in oil right? yes > This effects all buffere...