Working with ES2015 syntax

We'll take a sidebar here to talk a little bit about the ES2015 syntax that is not only being used in the preceding examples but will be used in pretty much every code sample, snippet, or tutorial you'll read, especially in the context of modern Phoenix code. Just in case, we'll take a few minutes to talk about the syntax used in the preceding examples and what they mean. The first line we wrote in the socket.js was an import statement and our first introduction to ES2015 syntax!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset