fusionjs

Modern framework for fast, powerful React apps

MIT License

Downloads
40.6K
Stars
1.5K
Committers
118

Bot releases are visible (Hide)

fusionjs - v2.1.0-0

Published by old-fusion-bot[bot] over 5 years ago

Changelog

Highlighted Changes

  • Pass context to render function (#243)

Other Changes

  • Add useService hook and modern Context (#242)
fusionjs - v2.0.0

Published by old-fusion-bot[bot] over 5 years ago

Changelog

Highlighted Changes

  • Add prepare context (#237)
fusionjs - v2.0.0-alpha.4

Published by old-fusion-bot[bot] over 5 years ago

Changelog

No pull requests in this release

fusionjs - v2.0.0-alpha.3

Published by old-fusion-bot[bot] over 5 years ago

Changelog

Highlighted Changes

  • Call prepare in browser (#234)
  • Update async rendering for React 16 (#227)

Other Changes

  • Upgrade flow-bin and fusion-core in lockstep (#229)
  • Update dependency fusion-core to ^1.10.3 (#226)
  • Update dependency flow-bin to ^0.92.0 (#220)

Migration Guide

React 16+ is now required

React 15 is no longer supported.

Side effect functions for prepared components called only once by default

As 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>
fusionjs - v2.0.0-alpha.2

Published by old-fusion-bot[bot] over 5 years ago

v2.0.0-alpha.2

fusionjs - v2.0.0-alpha.1

Published by old-fusion-bot[bot] over 5 years ago

v2.0.0-alpha.1

fusionjs - v2.0.0-alpha.0

Published by old-fusion-bot[bot] over 5 years ago

v2.0.0-alpha.0

fusionjs - v1.3.7

Published by old-fusion-bot[bot] over 5 years ago

Changelog

No pull requests in this release

fusionjs - v1.3.7-1

Published by old-fusion-bot[bot] over 5 years ago

Changelog

  • Update dependency fusion-core to ^1.10.1 (#211)
fusionjs - v1.3.7-0

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

Highlighted Changes

  • Update dep versions and fix flow errors (#210)
fusionjs - v1.3.6

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

No pull requests in this release

fusionjs - v1.3.6-0

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

Highlighted Changes

  • Allow for non-async usage for 'prepared' (#207)
fusionjs - v1.3.5

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

Highlighted Changes

  • Fix flow issue with component name (#205)

Other Changes

  • Clarify prepare use case (#204)
  • Upgrade dependencies (#201)
fusionjs - v1.3.4

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

No pull requests in this release

fusionjs - v1.3.4-0

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

Highlighted Changes

fusionjs - v1.3.3

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

No pull requests in this release

fusionjs - v1.3.3-0

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

Highlighted Changes

  • Upgrade dependencies and createContext typing (#192)
fusionjs - v1.3.2

Published by old-fusion-bot[bot] almost 6 years ago

Changelog

Highlighted Changes

  • Validate that async component contains a default export (#190)

Other Changes

  • Implement CI for multiple node versions (#188)
  • Update dependency fusion-core to v1.8.0 (#187)
  • Update dependency eslint-plugin-flowtype to v3 (#185)
fusionjs - v1.3.1

Published by old-fusion-bot[bot] about 6 years ago

Changelog

Highlighted Changes

  • Run argument validation early (#184)

Other Changes

  • Update dependency flow-bin to ^0.83.0 (#180)
fusionjs - v1.3.1-1

Published by old-fusion-bot[bot] about 6 years ago

Changelog

Highlighted Changes

  • Support portals (#183)
  • Fix warning Can't call setState on a component that is not yet mounted (#181)

Other Changes

  • Update uber/web-base-image Docker tag to v1.0.9 (#177)
  • Upgrade dependency versions (#178)
  • Fix flow release verification errors (#175)
Package Rankings
Top 1.97% on Npmjs.org
Related Projects