9tigerio / db2rest-web

DB2Rest Website
https://db2rest.com
6 stars 3 forks source link

Use JSX comment block style inside React components #44

Closed thadguidry closed 7 months ago

thadguidry commented 7 months ago

@kdhrubo the comment block style to use inside React components using JSX would be wrapping with /* so {/* this is a comment block /*} is the correct style, rather than HTML comment (which still works technically, but we get warnings in tooling and IDEs because we are in a React .js file and using JSX in a component - so no HTML context at all - HTML is generated runtime.)