Skip to content

Instantly share code, notes, and snippets.

@phillipskevin
Last active July 22, 2019 18:04
Show Gist options
  • Save phillipskevin/a2f94bd115dd1a4be7c4028e4646c093 to your computer and use it in GitHub Desktop.
Save phillipskevin/a2f94bd115dd1a4be7c4028e4646c093 to your computer and use it in GitHub Desktop.
CanJS marketing approaches

Easy all the way down

Easy to get started

  • Load an mjs file, no build
  • Create a class
  • customElements.define
  • Works with everything

Easy to do the right thing

  • Runtime type safety
  • Required properties
  • Test without the DOM

Easy to solve hard problems

  • Derived properties / FRP stuff
  • Real-time
  • Promises in templates

Best way to solve your UIs hardest problems

Best way to create web components to solve your UIs hardest problems

  • Portable - can use in any app and with any framework
  • Reactive - derived properties, FRP stuff, declarative templates
  • CanJS and web components will outlive your UI
  • Easy to share to gain contributions and publicity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment