-
Notifications
You must be signed in to change notification settings - Fork 958
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 examples are unusably slow #1043
Comments
I thought it was just me, I'd call myself somewhat of an "advanced" user. Typescript autocomplete and code exploring helps a lot, so I rarely go for the docs... but yeah, I've noticed this too since the release of Sadly you probably can't switch back to |
@ryanvanderpol thanks for the feedback. Thats the payment for having clickable examples. |
@lesmo comparing to v4, v5 has much more examples, plus some developer notes for each example. It just became meaningful in this version. But with annoying performance issues. |
Gotcha. It's a real annoyance for me, and I assume many others, and to be honest, I don't really see what the value is in clickable examples. This library is very basic: it's just buttons, lists, icons, menus, etc. The only thing I care about is the syntax and properties. I don't need you to prove to me that I can click a button. |
Well, that's yours opinion. But I believe that having it is much better than having nothing or having images. It is the first experience for users who look for the possible solutions.
There is an API tab for each component. Plus I totally agree with @lesmo that typescript helps a lot. You may just go to the source code to see the definitions without an extra need to open documentation. However, if not having live examples is not a problem for you, I would suggest looking through this folder |
The problem with that particular approach is that this library is updating pretty frequently, and using images could make updating the docs quite inefficient. I'm not sure if there's a way to automate that...
That's kinda terrible. I think it could make the library be perceived as slow. I suffered performance issues when using |
@lesmo thanks for the explanation. Do you have an experience running |
@lesmo yep, that helps. I also used splitting some examples for a particular component to a separate tabs in the documentation. Thanks for taking a part in the discussion, this will be closed with release of v5 stable. |
Not directly, though. I just implemented it in a past project through
My pleasure! |
I really enjoy using UI Kitten, but since I've only been using it for a few weeks I find that I need to refer to the documentation a lot, and that's a problem: the examples are absolutely unusably slow. The
Button
examples take 20+ seconds to render. And during the time that it's loading the code tab (<>
) isn't accessible, so I have to sit there and wait for it to finish loading before I can see any code samples.Great library, great documentation, but the use of these React Native Web examples in the documentation make me want to throw the whole thing away and use a different library.
The text was updated successfully, but these errors were encountered: