Skip to content

Instantly share code, notes, and snippets.

@Teagan42
Created May 3, 2016 16:52
Show Gist options
  • Save Teagan42/a22a2c877a9e04aedf2259e5a077bac5 to your computer and use it in GitHub Desktop.
Save Teagan42/a22a2c877a9e04aedf2259e5a077bac5 to your computer and use it in GitHub Desktop.

Controller Limitations:

  • Console.log is unusuable in controller
  • Cannot throw errors explicitly
  • Controller can only contain methods, no constants (not sure about helper)

Component Limitations:

  • Cannot utilize javascript callouts
  • Cannot retrieve element from events, i.e. click a link
  • Advised against nested conditional rendering
  • Limited community documentation - we are already more advanced than most examples out there
  • Almost completely useless deployment error messages
  • Advised to work directly in the developer console (yuck)
  • HTML5 elements (e.g. SVG) are not supported

Architecture Limitations:

  • Events can only be intercepted via specific facets of the DOM
  • Tab Header/Content are completely separated in the DOM, which makes templating the component difficult
  • Event firing is very verbose and repetative
  • Lightning ML gets transpiled into pure JavaScript anyway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment