Escaping dollar sign ($) while writing VS Code snippets
Maybe you try to write javascript template literals in a snippet Double backslash solves the problem
{ "react iterate object 🚀": { "body": [ "{", " Object.entries(${1:object}).map(([ key, value ],index) => (", " <${2:div} key={ index }>", " { `\\${key} : \\${value}` }", " </${2:div}>", " ))", "}" ], "prefix": "rio", "scope": "typescriptreact" },}