redux-box icon indicating copy to clipboard operation
redux-box copied to clipboard

More complex examples?

Open mikecann opened this issue 7 years ago • 12 comments

I like the example that you give in the Readme but when you open the example in the example folder its much simpler and doesnt seem to take advantage of that beautiful syntax you show in the readme.

It would be great if you could show a more complex example, perhaps one that does an api request too, to show how you handle async actions?

mikecann avatar Jan 31 '18 00:01 mikecann

Sure! I am working on adding resources and examples to make things as clear as possible. Will be adding a couple of examples (and some posts) of varying complexity this weekend.

anish000kumar avatar Jan 31 '18 04:01 anish000kumar

Awesome, look forward to it

mikecann avatar Jan 31 '18 05:01 mikecann

@anish000kumar yeah I would love to see more examples of the saga piece ❤️

yordis avatar Jan 31 '18 21:01 yordis

Looks like a promising project which has potential of being THE library for state management. Looking forward for more clearer api

mrdezzods avatar Feb 01 '18 22:02 mrdezzods

The readme has been updated with a list of few live examples! I am posting those here as well for quick reference, but since this list would keep evolving over time, it's best to find the same in the readme:

  • Basic example - https://stackblitz.com/edit/react-3c8vsn?file=Hello.js
  • Example showing redux-saga usage: - https://stackblitz.com/edit/react-qmedt4?file=Hello.js
  • Example with redux-form: https://stackblitz.com/edit/react-w4dqth?file=store%2Findex.js

I would really appreciate if more people could contribute by posting more of such examples to help others. Here's how you can contribute :

  1. You can visit any of the above examples you would like to start with
  2. Fork the project
  3. Complete your project
  4. Create a pull request with link and title to your project in the readme file

You can also help others by writing blog posts. I would be more than happy to include link to informative blog posts regarding redux-box in the repo. Feel free to ask questions, if any.

anish000kumar avatar Feb 02 '18 11:02 anish000kumar

@0maxxam0 funded this issue with $4. Visit this issue on Issuehunt

IssueHuntBot avatar Jul 10 '18 01:07 IssueHuntBot

@boostio funded this issue with $10. Visit this issue on Issuehunt

IssueHuntBot avatar Aug 28 '18 02:08 IssueHuntBot

@boostio funded this issue with $86. Visit this issue on Issuehunt

IssueHuntBot avatar Sep 18 '18 10:09 IssueHuntBot

@anish000kumar I would like to add some more examples.

thenamankumar avatar Sep 20 '18 00:09 thenamankumar

@hereisnaman That would be great! At this point it makes more sense to build a dedicated static documentation site for redux-box, instead of just using links for codesandbox. I'm already working on that. Let me know if you are willing to spread some code there 👐

anish000kumar avatar Sep 20 '18 05:09 anish000kumar

@anish000kumar that will be good. You using something like vuepress?

thenamankumar avatar Sep 20 '18 07:09 thenamankumar

@nirajgeorgian has started working. Visit this issue on Issuehunt

IssueHuntBot avatar Sep 28 '18 03:09 IssueHuntBot