jpex-js / jpex

Javascript Prototype Extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs tweaks

jackmellis opened this issue · comments

commented
  • Add examples of each lifecycle type
  • Add examples of active/passive precedence
  • Add example of bindToInstance
  • The example using window.fetch is wrong as it doesn't return a Promise (it returns a Response)
  • "should it attempt to import the it from node modules"
  • The example using window.fetch should just use another dependency
  • When we talk about dependent factories, we should also demonstrate that out-of-the-box it can also resolve globals and node modules
  • The global example using ga should be (...args: any[]) => void rather than Function