-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
A more user friendly implementation #98
Labels
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something that was already bugging me with yii2-bootstrap, and is now even "worse", is the developer experience when using the Yii2 bootstrap packages.
Take for instance the Progress component.
Even with bootstrap3, creating a successful animating stripped progress at 70% is painful:
Here, I need to remember the class names and what class should go on what part of the Progress element, etc.
You end up most of the time consulting the bootstrap documentation to remember the syntax, and there, you just have the plain HTML snippet sitting in front of you, that you could copy/paste and be done with.
I think that we need to care more about DX here, and that creating a progress element should be as straight forward as:
options
would be kept for a more advanced usage, when the developer really wants to stray out of bootstrap path.The text was updated successfully, but these errors were encountered: