Skip to content

Releases: alewin/useWorker

3.0.0-beta.3

3.0.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@alewin alewin released this 01 May 14:13

workerController as second parameter

3.0.0-beta.2

3.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@alewin alewin released this 15 Apr 19:09

Features

  • add autoTerminate option param

3.0.0-beta

3.0.0-beta Pre-release
Pre-release

Choose a tag to compare

@alewin alewin released this 13 Apr 08:32

Bugfix

Why on each call to the worker the dependencies are re-fetched? #33

Breacking changes:

Before:
the reference to the function workerHook changes each time the workerStatus changes, furthermore, since "options" is not a primitive variable, it causes a rerender every time the component that integrated the hook was updated.

After:
the hook updates only when options and worker function changes

2.1.3

Choose a tag to compare

@alewin alewin released this 26 Mar 17:51

⛑ Core

  • Migrate to Typescript #27

2.1.2

Choose a tag to compare

@alewin alewin released this 22 Mar 11:30

🐛 Bugfix

  • [Typescript Definition] Make options optional #24 ( Thanks @iljadaderko 🚀)

2.1.1

Choose a tag to compare

@alewin alewin released this 22 Mar 08:21

🐛 Bugfix

  • Worker runtime errors are not handled #22 ( Thanks @grdnrt 🚀)

2.1.0

Choose a tag to compare

@alewin alewin released this 19 Mar 12:34

Features

  • Add typescript support 🚀

2.0.6

Choose a tag to compare

@alewin alewin released this 13 Mar 17:56

Bugfix

  • remove default export

v1.2.1

Choose a tag to compare

@alewin alewin released this 12 Mar 22:03

Fix

  • export default issue

1.2.0

Choose a tag to compare

@alewin alewin released this 12 Mar 22:00

Features

  • add timeout option
  • add dependencies option