5 return (
6 <>
7 <h1 class="no-unknown-property" font-size="24" onClick={() => console.log('Should not use bind in JSX props')}>
8 {title ? title : `Welcome to DeepSource`} 9 </h1>
10 <Hero className={'bg'} title='DeepSource is how you write clean and secure code' title=''></Hero>
11 <ul>
5 return (
6 <>
7 <h1 class="no-unknown-property" font-size="24" onClick={() => console.log('Should not use bind in JSX props')}>
8 {title ? title : `Welcome to DeepSource`} 9 </h1>
10 <Hero className={'bg'} title='DeepSource is how you write clean and secure code' title=''></Hero>
11 <ul>
7 <div className="App">
8 <header className="App-header">
9 <img src={logo} className="App-logo" alt="logo" alt="logo_"/>
10 <Home title={`Welcome to DeepSource Enterprise`} isHero={true}></Home>11 <a
12 className="App-link"
13 href="https://reactjs.org"
4**/
5
6const request = require('request') // <- deprecated library
7const baseURL = `http://localhost:3000/` 8
9request(baseURL, (error, response, body) => {
10 if (error) {
Template literals are useful when you need:
Strings that have unescaped double quotes and single quotes.
Strings that need line breaks in them.
If neither of these three conditions is met, you can replace the template expression with a regular string literal.
const dialogue = `"Journey before destination", said Dalinar.`
const dialogue2 = `What is a 'Kwisatz Haderach'?`
const dialogue = '"Journey before destination", said Dalinar.'
const dialogue2 = "What is a 'Kwisatz Haderach'?"
const dialogue3 = `"${getLine()}", said ${getChararcter()}`