Skip to content

Releases: frejs/fre

2.6.4

26 May 13:31
bae8f9b
Compare
Choose a tag to compare

算法简化,O(N),更好的适配嵌入式

2.6.1

30 Nov 18:08
Compare
Choose a tag to compare
simplify

2.4.1 (Nov 08, 2021)

08 Nov 06:22
Compare
Choose a tag to compare
  1. Microtask is used by default. In most cases, the performance will be much better.
    #304
  2. Refactor updateElement, performance improves again.
    #321

2.1.0 (Jun 27, 2021)

27 Jun 11:58
Compare
Choose a tag to compare

[core] It's just the stability of the algorithm, there is no new feature.
[test] Use playwright + zora

2.1.0-alpha (Jun 11, 2021)

11 Jun 01:55
b515e03
Compare
Choose a tag to compare
  1. Offscreen rendering

A new technology can improve the performance by ten times.

At present, fre is four times faster than react and three times faster than Vue.

微信图片_20210608104325

  1. Compatible with react18
auto updates
createRoot
startTransition

2.0.0 (Mar 30, 2021)

30 Mar 05:43
7d461ff
Compare
Choose a tag to compare
Merge pull request #250 from yisar/dependabot/npm_and_yarn/y18n-4.0.1

Bump y18n from 4.0.0 to 4.0.1

2.0.0.rc (December 30, 2020)

30 Dec 08:11
e727583
Compare
Choose a tag to compare
Pre-release

** New reconciliation algorithm **

#200

Fre now uses a new diff algorithm, which can traverse from both ends and handle common prefixes and suffixes

This is also the optimization used in Vue, Inferno, IVI and other frameworks, which is much better than react.

** todo **

  1. refactor commitWork

Use recursion instead of regenerating a effect list

facebook/react#19673

  1. better render array

FragmentDocument for Component and refactor h function.

2.0.0.beta (September 25, 2020)

25 Sep 14:32
Compare
Choose a tag to compare

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!

1.13.5 (Apil 22, 2020)

22 Apr 11:17
Compare
Choose a tag to compare

1.13.4 (April 10, 2020)

10 Apr 13:46
Compare
Choose a tag to compare
  1. Context userland implement
  2. fix memo bug