31 packages found
Easily compose render props in React and Preact.
Fold multiple render prop components into a single component.
`react-scroll-activator` watches for a scroll event inside of a container or on the window. When certain user-defined rules are met, it passes an `activatedState` prop to a render prop component, triggering whatever behavior the developer chooses on the c
Selector component for Redux state using render props.
A react render prop component for react that injects the window dimenions. Uses a single shared, debounced event listener across all instances in your application.
> This plugin transforms `adopt` calls to render props. Idea based on [this gist](https://gist.github.com/trueadm/35f083d32e5af93dd8fd706dae378123#file-2-future-ideas-js-L24). > ⚠️ **Experimental:** Code you are likely to write should be transformed just
Unify state and props, decouple render() and update state synchronously
Turn observable props into a render function with values.
## 新动态 ### 1.2.1 (2017-09-30) * 增加style支持传递Object类型的数据,如:<div style={{fontSize:30, color:'red'}}>Hello</div>,当然,也可以写字符串 ### 1.2.2 (2017-09-30) * 修改了HTML中结束标签的bug
Makes React components pure excluding functions from props.
Allow props and state as render() parameters, as in preact
Allows comparing two state/prop trees for differences
React.render a stream of props to Component at element
hacky way to figure out what is passed to this.props.children in react
A React component for inline editable state management
Simple collection search for React based on the render prop pattern
Simplify conditional usage of render props
An angular one directive that renders a react component
A react component that handles conditional logic in a more elegant manner.
- react
- reactjs
- react-component
- conditional
- render
- render-component
- render-props
- condition
- if-else
- truthy
- falsy
- react-conditional
- react-conditional-rendering
- control-flow
- View more
React component for rendering highlighted words from a string.