The ``in router.push ({path: `/ user/$ {userId}`}) is changed to''. Is there any difference?

in navigational programming in vue-router:

router.push({ path: `/user/${userId}` }) // -> /user/123

can be written as:

router.push({ path: "/user/${userId}" })

?

is there any difference between ``and""here?
if there is no difference, then why use ``in the document?

Mar.02,2021

is different. ``is a template string in es6, while in''there is a common string


router.push({ path: `/user/${userId}` }) // -> /user/123

// 
router.push({ path: '/user/'+userId) // -> /user/123

, which saves the splicing process

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be5d6a-317bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be5d6a-317bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?