Did react-router-dom finally render Link as a tag?

clipboard.png

clipboard.png
react-router-dom finally renders the Link as a tag ("_ `). This is the Link? that .open-search a {} serves.

Mar.09,2021

Yes, the Link component will eventually render as the HTML tag a, but the comparison of the HTML Link component avoids unnecessary re-rendering, thereby reducing DOM performance consumption.


you can use this chrome devtool to debug your react code
React Developer Tools
so that you can see the previous jsx and the subsequent dom

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-1b3b2be-407fc.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-1b3b2be-407fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?