react-static-container alternatives and similar libraries
Based on the "UI" category.
Alternatively, view react-static-container alternatives based on common mentions on social networks and blogs.
-
react-canvas
High performance <canvas> rendering for React components -
react-voodoo
Faster, simplier, additive, swipeable & multidimentional animation engine for React -
inferno
An extremely fast, React-like JavaScript library for building modern user interfaces.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of react-static-container or a related project?
README
react-static-container
Renders static content efficiently by allowing React to short-circuit the reconciliation process. This component should be used when you know that a subtree of components will never need to be updated.
Typically, you will not need to use this component and should opt for normal React reconciliation.
Installation
npm install react-static-container
Usage
var StaticContainer = require('react-static-container');
var someValue = ...; // We know for certain this value will never change.
class MyComponent extends React.Component {
render() {
return (
<div>
{this.props.value}
<StaticContainer>
<MyOtherComponent value={someValue} />
</StaticContainer>
<div>
);
}
);
StaticContainer
also takes a shouldUpdate
prop as an escape hatch, allowing granular updates.