uqbar-project / njsx

A customizable and declarative interface for creating React and React Native components without JSX syntax.
Other
34 stars 4 forks source link

add point-free example to documentation #2

Closed RichardForrester closed 5 years ago

RichardForrester commented 5 years ago

Thanks for the wonderful library. I was looking for a solution to the jsx problem for a while and was using a dinky converter function const converter = el => (props, ...children) => h(el, props, ...children) until I finally stumbled on njsx. I really like the solutions you have provided. I wanted to contribute a little and so I added some lines in the docs regarding point-free composition. I found that lodash/fp.compose blows up but that rambda.compose works great.

Let me know if there's anything else I can do.

Thanks!

nscarcella commented 5 years ago

Hi @RichardForrester, thanks for the contribution! I'm glad you liked the library!

The project is actually quite small so lately I rarely do something other than small maintenance tasks, but please feel free to submit anything you want.