Modern framework for fast, powerful React apps
MIT License
Bot releases are visible (Hide)
Published by old-fusion-bot[bot] over 5 years ago
No pull requests in this release
Published by old-fusion-bot[bot] over 5 years ago
React 15 is no longer supported.
prepared
components called only once by defaultAs a result of the the new async SSR implementation, required to support hooks, there is a breaking change regarding how side effect functions are called when rendering prepared
async components.
Consider the following example:
import {prepared} from "fusion-react";
const MyAsyncComponent = prepared(effectFn)(MyComponent);
<div>
<MyAsyncComponent foo="bar" />
<MyAsyncComponent bar="baz" />
</div>
Before this change, the effectFn
would be called twice, once for each rendered MyAsyncComponent
.
With the new SSR implementation, effectFn
will only be called once.
To restore the old behavior, unique effectId
props must be added to each rendered prepared component.
<div>
- <MyAsyncComponent foo="bar" />
- <MyAsyncComponent bar="baz" />
+ <AsyncComponent effectId="1" foo="bar" />
+ <AsyncComponent effectId="2" bar="baz" />
</div>
Published by old-fusion-bot[bot] over 5 years ago
v2.0.0-alpha.2
Published by old-fusion-bot[bot] over 5 years ago
v2.0.0-alpha.1
Published by old-fusion-bot[bot] over 5 years ago
v2.0.0-alpha.0
Published by old-fusion-bot[bot] over 5 years ago
No pull requests in this release
Published by old-fusion-bot[bot] almost 6 years ago
No pull requests in this release
Published by old-fusion-bot[bot] almost 6 years ago
No pull requests in this release
Published by old-fusion-bot[bot] almost 6 years ago
No pull requests in this release
Published by old-fusion-bot[bot] almost 6 years ago
Published by old-fusion-bot[bot] about 6 years ago