Skip to content

Tags: sastan/react-render-callback

Tags

v1.2.5

Toggle v1.2.5's commit message
fix: ensure `$$typeof` exists

otherwise in react@<16.3 this may detect fals-positives as the detected react symbols are `undefined`

v1.2.4

Toggle v1.2.4's commit message
fix(release): manually release a patch version

update doc/readme on npm

v1.2.3

Toggle v1.2.3's commit message
fix: remove unnecessary isPlainObject check

if the renderable has `defaultProps` it is a ordinary function component which only accepts a props param

v1.2.2

Toggle v1.2.2's commit message
fix: remove undocumented named `render` export

v1.2.1

Toggle v1.2.1's commit message
doc: name the used pattens

v1.2.0

Toggle v1.2.0's commit message
feat: support different types of arguments for the renderable

This allows to pass several arguments to the renderable function or
an argument that is different from a plain object.

v1.1.1

Toggle v1.1.1's commit message
fix: better react component detection

- remove use of `react-is` (bundling error with rollup)
- user special `$$typeof` to detect `Context.Provider`, `Context.Consumer` and object returned by `React.forwardRef`

v1.1.0

Toggle v1.1.0's commit message
feat(createRender): new function to pre-determine what type renderabl…

…e is

which prevents these checks on every invocation

v1.0.4

Toggle v1.0.4's commit message
fix: use inline `NODE_ENV` check

This allows smaller umd minified build.

v1.0.3

Toggle v1.0.3's commit message
refactor(rollup-config): extract common plugin replace logic