r5n-dev / vscode-react-javascript-snippets

Extension for React/Javascript snippets with search supporting ES7+ and babel features
MIT License
1.72k stars 441 forks source link

_rfc boiler plate #221

Closed brking closed 2 years ago

brking commented 2 years ago

The _rfc boilerplate was working last week but not today. Any idea why?

MarianAct commented 2 years ago

I have the same issue, it was worked 2-3 days ago but now it stopped working...

image

PabloPenia commented 2 years ago

same here, I've reinstalled yesterday and discover that snippets changed, now without underscore, for example _rafce now is rafce. But today stop working at all. Even the search shortcut is not working. When I use CTRL + SHIFT + R I get this message:

Captura de pantalla_2022-01-22_19-22-08

nizzu1102 commented 2 years ago

The extension was updated, to have the same settings go back to the previous version, The option to install another version is in the context menu. Or the gear icon for each extension.

MarianAct commented 2 years ago

I just downgraded to version 3.1.1 and worked for me, thanks.

ice-chillios commented 2 years ago

Duplicate of #215 #220

brking commented 2 years ago

I have seen the solution. Basically, we still use rfc (instead of _rfc), but you need to got to the settings of ES7 and uncheck the setting for 'React Snippets > Settings: Import React on Top'... or just search for 'importreactontop'