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

Put examples in the documentation #731

Open
robbporto opened this issue Aug 27, 2018 · 3 comments
Open

Put examples in the documentation #731

robbporto opened this issue Aug 27, 2018 · 3 comments

Comments

@robbporto
Copy link

It would be very nice to put some "real world" examples when explaining each method. Right now we mostly have only the signature of the method.

@robbporto robbporto changed the title Put some examples in the documentation Put examples in the documentation Aug 27, 2018
@featherart
Copy link

Agreed. I would be happy to take this on.

@suzdalnitski
Copy link

I agree that more examples should be added. We're using recompose heavily at work, and I have even written an article: Mastering React Functional Components with Recompose

If the examples in the article look good, then I could add them to the documentation, perhaps add a whole new Examples section.

@evdama
Copy link

evdama commented Oct 26, 2018

To me the real value add when we stay with functions rather than classes is that testing becomes a lot easier. TDD is something that isn't to time consuming anymore, and therefore can be done because budgets for testing stay reasonably small.

Modular code and TDD is the only thing that gets you scalable codebases when you grow a business and start adding new devs at high pace.

I think the docs should therefore talk about this very important fact and have an example using e.g. Jest.

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

No branches or pull requests

4 participants