Become a member
Sign in
David K. Hahn
David K. Hahn

David K. Hahn

71 Following
32 Followers
  • Profile

  • Claps

  • Highlights

  • Responses

Highlighted by David K. Hahn

See more

From Cross-site scripting for dummies by David Gilbertson

If a web server sends <script>alert('tsk tsk')</script> in the HTML, the browser will parse (and therefore execute) that JavaScript (OK unless it’s in a textarea or something*).

From Cross-site scripting for dummies by David Gilbertson

If a site writes text into the page client-side using element.innerHTML then it will be parsed (innerHTML is the hacker’s best friend). If they use element.textContent instead then it will not be parsed (booooo).

Claps from David K. Hahn

See more

When to use Component or PureComponent

paul christophe

Using a <PureComponent/> in React

Chris Burgin

Being a software developer: some things to keep in mind

Andrea Bresolin