Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Simpler classful component check (fixes #458) #463

Merged
merged 1 commit into from
Aug 3, 2017

Commits on Aug 3, 2017

  1. Simpler classful component check

    Instead of checking for the `isReactComponent` property (which is internal to React), it seems advantageous to check for `render()`. This improves Preact support (when using recompose with non-preact-compat components) but also importantly works with components that don't inherit from `Component`.
    developit authored Aug 3, 2017
    Configuration menu
    Copy the full SHA
    1c9cf7b View commit details
    Browse the repository at this point in the history