-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation not newbie-friendly #117
Comments
The readme is, it was intended to demonstrate the simplest way to achieve bindings to Redux. I mean there is not much more I can add to the readme to keep this easy.
Are you confused with the Mixins, Redux or why you have a As for the website demo, it gets a little more specific. What I mean by this is actually connecting element properties to certain Still, with the website demo, it is tabbed. These tabs are just representations of files that are split. Again if you have trouble understand how web components import code from various files I suggest reading more on this. The documentation offers nothing too complex. All of which can be learnt outside of this library.
I mean I don't know what else or how I can write documentation to make this more understandable for developers. Please feel free to send a PR if my wording, grammar or if I've missed a link for you to follow and read. As for a getting started guide for someone who doesn't know the concepts of anything relating to Polymer, Redux or Class Mixins. You may write one and please share. I'd be happy to include it in the readme or documentation. However, in my professional opinion, these are core concepts you need to know before using this library. It helps put the documentation into perspective. |
Thank you very much for replying in this quite long comment. I know that from a perspective of someone who already knows this stuff, this might seem trivial. I, and probably many others that have come into contact with polymer-redux, do understand the basic concepts of all the parts involved. And in a few weeks from now, I probably can't understand what the fuss was about myself anymore. But right now the UX is fresh in my mind, so I will try to elaborate the hardships I encountered. So I landed on your GitHub page and saw the demo app, then I clicked the polycast video. Here was the first time I got really confused. The syntax that Rob used was really different from what I saw from the demo app. After some investigating I found out that it's because that's Polymer 1 (I haven't done anything in P1, so I didn't know).
vs
I thought "OK, maybe that's a P1 vs P2 thing or maybe it has something to do with ES6", so I went on to the store.
vs
"Alright, that's so different". At this point I started googling, trying to bring in additional information, because I just couldn't figure it out. After some time I learned that the second part is just a Mixin which replaces the Behavior from P1. The creation of the store still leaves me with no understanding of the differences though, even after days. Then in the comments of the Polymer video I found someone changing it up for P2. "Let's check out the reducer and the store creation".
More confusion. No Then I went back to the demo app on the polymer-redux webpage. In the reducer there's the
"What?" It's another thing that is neither in the demo app nor in the video or in the P2 code of the video.
"This is different again. Magic indeed! Well, maybe I'm just an idiot." And then I wrote this post after multiple days of trying to make sense of the docs. Oh yes, one more thing. In the P1 video the |
I really think that one has to first learn Redux and all the concepts around it. Polymer-redux is just a thin wrapper that allows you to connect the Polymer elements to the redux store similar to React-Redux bindings (https://github.com/reactjs/react-redux) |
Hi,
I'm trying to get started with Polymer and Redux, but even after days I don't really know how to get started. I'm trying to connect all the dots, but the documentation of this project is really confusing me.
The GitHub readme is so simple, I really can't make sense of it. When I go to the webpage of the project I see a demo app, but somehow it's only half of what the actual demo is and there are no explanations. Then in the docs there are these snippets of information and they all show different ways of how to do specific tasks and they're all different from how it's shown in the demo app.
It would really be great if there was a "Getting started" guide that would show a recommended way of setting up Polymer with Redux in a highly opinionated and idiomatic way, so that beginners could get started even before understanding all the concepts.
The text was updated successfully, but these errors were encountered: