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

expose createElement and createHelper #66

Closed
joshacheson opened this issue Nov 18, 2015 · 2 comments
Closed

expose createElement and createHelper #66

joshacheson opened this issue Nov 18, 2015 · 2 comments
Labels

Comments

@joshacheson
Copy link
Contributor

These two private/util methods are really useful. It might be nice to either publish them as separate libraries on npm or expose them to consumers of recompose. Seems to me that people wanting to create their own helpers wont be a rare case, and these utilities are a huge help in that process.

@acdlite
Copy link
Owner

acdlite commented Nov 18, 2015

I agree they could be useful to others. Currently they're available as

import createElement from 'recompose/createElement'
import createHelper from 'recompose/createHelper'

but they should go on the main export, as well. Only roadblock right now is proper documentation.

@acdlite
Copy link
Owner

acdlite commented May 21, 2016

createElement is now createEagerElement and is exposed (in master, not released yet). Now that currying has been removed, not sure there's any value in making createHelper public. I'll keep it private for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants