Skip to content

Release 6.0.0-beta.3

Choose a tag to compare

@jsamr jsamr released this 19 Jun 18:35
· 243 commits to master since this release

6.0.0-beta.3 (2021-06-19)

The Foundry release is finally stable, and is now-on the recommended version. Check out the announcement blog post in our brand new website. We also have a migration guide for those who're coming from v5 and below. If you encounter any issue with this release, please comment in the official thread.

Beware there is a breaking change in this version, although very easy to fix (see below).

Features

  • new dev profiler to get feedback on short updates (98fd749)

BREAKING CHANGES

  • The triggerTREInvalidationPropNames has been discontinued. The idea for this prop originated in the premise that many beginners would disregard the issue of passing literal props triggering many re-renders. But I realized it mostly frustrated expectations of newcomers that this library honors React components contract. So I have finally decided to discard the prop, and instead add a lightweight profiler (in dev mode only, of course), which warns the consumer of re-renders happening in a short period of time. You are now responsible for the invalidation of the TRenderEngine, so make sure you memoize the props if the controlling components is expected to re-render often.