Skip to content

Releases: hyperstart/frapp

0.4.0

16 Dec 22:17
Compare
Choose a tag to compare

Added Lifecycle events on modules:

  • onWire() is called when a module is wired by frapp(). Either on startup or whenever it is added to the app via update(). This method is called on the deepest modules first, and then higher up in the tree, so that when a module's onWire() is called, all its sub-modules have had their onWire() called already.
  • onRemove() is called when a module is removed from the app via update(). This method is called on the highest modules first, so that when a module's onRemove() is called, it's sub-modules are still fully functionals.

The router now uses the lifecycle events instead of init() and remove().

0.3.0

14 Dec 07:09
Compare
Choose a tag to compare
  • Split index.ts into separate files
  • Added routing capabilities (module, Route component, Routes component, Link component)
  • Added isVNode() function

0.2.6

22 Nov 18:06
Compare
Choose a tag to compare
  • fix bug in update()'s re-wiring where functions can only be re-wired once

0.2.5

22 Nov 18:04
Compare
Choose a tag to compare
  • update() now handles properly pre-wired functions: it re-wires the original function
  • 100% branch coverage!

0.2.4

18 Nov 09:17
Compare
Choose a tag to compare
0.2.4

0.2.3

12 Nov 10:20
Compare
Choose a tag to compare
  • get(obj, path), set(obj, path, value) and merge(obj, path, value) now accept dot separated strings for path.

0.2.2

11 Nov 10:49
Compare
Choose a tag to compare

Updated type system.

0.2.1

11 Nov 10:07
Compare
Choose a tag to compare
  • Updated types

0.2.0

11 Nov 09:56
Compare
Choose a tag to compare
  • Added frapp as default export
  • Added non minified bundle to package
  • Added es2015 bundle to package

0.1.0

07 Nov 22:26
Compare
Choose a tag to compare
Version 0.1.0