Skip to content

2.0.0.beta (September 25, 2020)

Compare
Choose a tag to compare
@yisar yisar released this 25 Sep 14:32
· 724 commits to master since this release

Fre2 is beta now!

Thanks for @shadowvzs @prettykernel @mindplay-dk

  1. algebraic effect(via. resumable exception)

Demo is here: https://github.com/yisar/fre/blob/master/demo/src/resume-exception.tsx

There is a few change in useReducer. If the state is to be used to throw promise, it needs to be marked with *.

  1. typescript4

All file move to typescript, and in the future, we should explore how to reduce the code size with typescipt.

  1. state and effect

No need requestAnimationFrame for effects, and state should defer to update.

  1. jsx2

For babel8 and Typescript4.1

Fre2 represents the basic completion of Concurrent mode, including time slicing and algebraic effects. We will continue to explore faster performance, smaller size and better codes.

Thank you very much!