Socket
Socket
Sign inDemoInstall

@typescript-tea/core

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

0.6.0

Diff

Changelog

Source

0.6.0 - 2022-07-05

Added

  • Do not call view()/render() when state has not changed (#14)
jonaskello
published 0.5.1 •

Changelog

Source

0.5.1 - 2021-05-23

Fixed

  • Always call all effect managers so they get updated subscriptions even if there are no subscriptions anymore. See PR #8 and See PR #9.
jonaskello
published 0.5.0 •

Changelog

Source

0.5.0 - 2020-10-22

Added

  • Add internal dummy field to preserve generic parameter of Cmd<Action> and Sub<Action>.
jonaskello
published 0.4.0 •

Changelog

Source

0.4.0 - 2020-04-24

  • Add setup() to EffectManger. This makes it possible for setup code to exist outside of core. For example code for setting up listening to popstate for navigation.
  • Add generic Init type to init() function and Program.run() instead of passing current url. This makes it possible to pass any type of data from the outside into the init() function of the program (a litle similar to Elm's flags). Since you can pass anything, tt is still possible to pass current url.
  • Remove onUrlChange from Program. This can instead be passed as creation parameter to a navigation effect manager.
jonaskello
published 0.3.0 •

Changelog

Source

0.3.0 - 2020-03-04

Changed

  • Internal refactoring.
jonaskello
published 0.3.0-0 •

jonaskello
published 0.2.0 •

Changelog

Source

0.2.0 - 2020-02-26

Changed

  • Renamed runtime to Program.run()
  • Renamed mapDispatch to Dispatch.map()
  • Require render function to Program.run()
  • Make effectManagers optional in Program.run()
  • Remove dep on ts-exhaustive-check
jonaskello
published 0.2.0-next.2 •

jonaskello
published 0.2.0-next.1 •

jonaskello
published 0.1.0 •

Changelog

Source

0.1.0 - 2020-01-26

Added

  • Initial version.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc