<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: dmanias</title>
    <description>The latest articles on DEV Community by dmanias (@dmanias).</description>
    <link>https://dev.to/dmanias</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F552644%2F0502b655-ce94-4058-a99e-17b255fdc062.jpg</url>
      <title>DEV Community: dmanias</title>
      <link>https://dev.to/dmanias</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dmanias"/>
    <language>en</language>
    <item>
      <title>React bind(this)</title>
      <dc:creator>dmanias</dc:creator>
      <pubDate>Mon, 04 Jan 2021 11:34:47 +0000</pubDate>
      <link>https://dev.to/dmanias/react-bind-this-6b1</link>
      <guid>https://dev.to/dmanias/react-bind-this-6b1</guid>
      <description>&lt;p&gt;In React, whenever you define an event handler that uses "this", you need to add "this.methodName = this.methodName.bind(this)" to your constructor function.&lt;/p&gt;

&lt;p&gt;This is not React-specific behavior; it is a part of how functions work in JavaScript. Generally, if you refer to a method without () after it, such as onClick={this.handleClick}, you should bind that method.&lt;/p&gt;

</description>
      <category>react</category>
      <category>bind</category>
      <category>functions</category>
      <category>events</category>
    </item>
    <item>
      <title>What JavaScript variable names are valid in ES5</title>
      <dc:creator>dmanias</dc:creator>
      <pubDate>Sun, 03 Jan 2021 19:11:38 +0000</pubDate>
      <link>https://dev.to/dmanias/what-javascript-variable-names-are-valid-in-es5-5cpg</link>
      <guid>https://dev.to/dmanias/what-javascript-variable-names-are-valid-in-es5-5cpg</guid>
      <description>&lt;p&gt;ECMAScript 5.1:&lt;/p&gt;

&lt;p&gt;An Identifier is an IdentifierName that is not a ReservedWord.&lt;/p&gt;

&lt;p&gt;The reserved groups are: keywords, future reserved words, null literals and boolean literals.&lt;/p&gt;

&lt;p&gt;Keywords in Javascript are tokens with special meaning: break, case, catch, continue, debugger, default, delete, do, else, finally, for, function, if, in, instanceof, new, return, switch, this, throw, try, typeof, var, void, while, with.&lt;/p&gt;

&lt;p&gt;Future reserved words are the tokens that may become keywords in a future revision of ECMAScript: class, const, enum, export, extends, import, and super. Some future reserved words only apply in strict mode: implements, interface, let, package, private, protected, public, static, yield.&lt;/p&gt;

&lt;p&gt;Null literal: null.&lt;/p&gt;

&lt;p&gt;Boolean literals: true, false.&lt;/p&gt;

&lt;p&gt;An identifier must contain any character from the following Unicode categories  “Uppercase letter (Lu)”, “Lowercase letter (Ll)”, “Titlecase letter (Lt)”, “Modifier letter (Lm)”, “Other letter (Lo)”, or “Letter number (Nl)”.&lt;/p&gt;

&lt;p&gt;The article is a summary of the excellent article of Mathias Bynens:&lt;br&gt;
&lt;a href="https://mathiasbynens.be/notes/javascript-identifiers"&gt;https://mathiasbynens.be/notes/javascript-identifiers&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is a validator for Javascript variables: &lt;a href="https://mothereff.in/js-variables#%E0%B2%A0%5f%E0%B2%A0"&gt;https://mothereff.in/js-variables#%E0%B2%A0%5f%E0%B2%A0&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>variables</category>
      <category>identifiers</category>
      <category>es5</category>
    </item>
  </channel>
</rss>
