platform icon indicating copy to clipboard operation
platform copied to clipboard

Create a basic StackBlitz template

Open smithad15 opened this issue 7 years ago • 2 comments

Having a basic StackBlitz setup for the library would be useful. This could be used as a template for issue reporting or just for the community at large.

smithad15 avatar Jan 08 '19 03:01 smithad15

I created one here a while ago. I stripped angular-redux/forms and angular-redux/router from it, as they create noise in redux without being involved in issues most of the time.

It features:

  • Current angular/redux/redux-observable/... versions
  • One component assigned to a route (home.component)
  • One simple sync action for this component triggered by a button
  • One async action with an epic which will fetch async data via HTTP, triggered by a button

Feel free to fork and link it from this repo or ask me for improvements. I would suggest to keep it simple though.

Maybe check if you can login with the angular-redux github account directly, then you can save the template in that account, making it more official.

I would also suggest to create a new repository containing that test repo. I know, this contradicts the idea of the mono-repo, but gives you full version control. As described in the docs, repositories containing an Angular project in the root can be opened using e. g. stackblitz.com/github/angular-redux/stackblitz-example. Otherwise there will always be the danger that the owning user just makes small edits without forking before, altering the opened stackblitz project immediately.

wtho avatar Jan 09 '19 14:01 wtho

This helps, thanks @wtho! Maybe it would make sense to have a link to your stackblitz in the README?

spygi avatar May 14 '19 18:05 spygi