how to enable prettier format on save for jsx code example
Example 1: format code in vs code
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
Example 2: enable prettier vscode
ext install esbenp.prettier-vscode
On Windows Shift + Alt + F.
On Mac Shift + Option + F.
ext install esbenp.prettier-vscode