react-extract.nvim
react-extract.nvim copied to clipboard
Error when attempting extraction of JSX: attempt to get length of local 'properties' (a nil value)
Perhaps I am misusing what this is about but I was hoping to take a piece of JSX and extract it to a component in a new file.
I am using NvChad.
I have tsserver setup:
My configuration is the default configuration:
I selected some extractable JSX using "V" and hit "<leader>re" and then was asked for a filename and input: "thingbobfoo.tsx" then was greeted with an error:
A new empty buffer is opened with the filename but there is nothing in there and the original buffer has not been changed at all.
Exact same scenario but using LunarVim and it just crashes the whole editor. Possibly throwing the same error in the background. Anyone know how to fix?