Fre Versions Save

:ghost: Tiny Concurrent UI library with Fiber.

2.6.4

11 months ago

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

2.6.1

1 year ago

2.4.1

2 years ago
  1. Microtask is used by default. In most cases, the performance will be much better. https://github.com/yisar/fre/pull/304
  2. Refactor updateElement, performance improves again. https://github.com/yisar/fre/pull/321

2.1.0

2 years ago

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

2.1.0-alpha

2 years ago
  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

v2.0.0

3 years ago

2.0.0.rc

3 years ago

** New reconciliation algorithm **

https://github.com/yisar/fre/pull/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

https://github.com/facebook/react/pull/19673

  1. better render array

FragmentDocument for Component and refactor h function.

2.0.0.beta

3 years ago

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

4 years ago

1.13.4

4 years ago
  1. Context userland implement
  2. fix memo bug