Skip to content

Updating the Documentation to ES6+ #787

Open
@KowalewskiPawel

Description

@KowalewskiPawel

Adding ES6+ Syntax to the Examples

Currently, examples in the documentation use the old version of JavaScript. Namely the pre ES6 version with some practices already abandoned in most of the projects, such as using const & let instead of var, the use of callbacks.

Possible Changes

  • Variables initiated with var can be changed to const or let depending on the context
  • Promises can be used, instead of callbacks
  • Optionally, "commonjs" importing technique, can be changed with ES6 import keyword

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions