List of regex substitutions to help migrate a Leptos app from Leptos 0.6 to 0.7
The provided example regex for each step can be run in Vim/Neovim by using :%
followed by the regex to apply to the current buffer.
You can also use :cfdo %
instead to apply to all the files in your quickfix list.
So to put this all together, use something like the telescope file finder to find all .rs
files, press ctrl+q to send them to the quickfix list,
then :cfdo %s/create_resource(/Resource::new(/g
and that will apply the create_resource rename.