Skip to content

Docs tweaks #131

@jackmellis

Description

@jackmellis
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions