Some 🍋 0️⃣ usability questions
See original GitHub issueHad a few questions, figured I’d open them all in an issue 😃
- This provides resets for every element except
<body>
and<html>
: (where they would be)- is this intentional?
- I would guess so, react can’t quite produce those elements
- won’t I still need some sort of global reset for these elements?
- How do I prevent my devs from accidentally using vanilla html elements in react?
- probably a good opportunity for a pre-commit hook?
- How do I integrate third party react components?
- Say I find a totally-sick date picker, do I have to fork and
s/div/Div/g
in their component? - Does this prevent me from taking advantage of out-of-the-box sort of react components?
- Is this maintenance overhead worth it?
- Say I find a totally-sick date picker, do I have to fork and
- Performance?
- I realize css benchmarks are kind of silly, but has there been any research into whether this approach impacts paint time?
- Problems with global resets?
- were there ever any actual problems with a global reset? the blog post hints at potential problems with leaking scope in a
.scss
file, though I’m not sure how lemon reset helps that – perhaps it can be elaborated on 😃
- were there ever any actual problems with a global reset? the blog post hints at potential problems with leaking scope in a
Thanks! 👍
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
23 Fantastic Usability Test Questions To Ask (& 11 You ... - Rev
Writing usability test questions sounds easy at first. You just have to ask users what they think about your product, right?
Read more >Usability Testing Questions: Asking the Right Questions - Hotjar
What are some common usability testing questions? · Screening: ask basic questions about the users' demographics and experience. · Pre-test: ask ...
Read more >Usability Testing Questions: 7 Rules & 25 Examples
7 rules of asking usability testing questions · 1. Ask qualifying questions · 2. Don't ask leading questions · 3. Ask open-ended usability...
Read more >24 Usability Testing Questions You Need To Ask Your Audience
Planning to conduct user tests of your website or app? Find out what usability testing questions to ask to ensure you get the...
Read more >Common usability testing questions - UserTesting
Pre-test usability questions · Tell me about your current role · Describe your family structure · What work-related mobile apps do you use?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I see
<body>
and<html>
made it in, I think that and my other concerns are resolved now. Thanks, friends 🎉Oh hai. I’ll try to answers a few of these:
The goal of this library is to let you write components (using CSS modules) that have consistent styling across browsers. It’s pretty uncommon for a shared React component to render the
<html>
or<body>
tags on a page, so its not something that we’ve run into. I’m open to a PR though, if this is something that you need 😃Internally we have a custom eslint rule and run eslint through pre-commit. We should probably release that as well!
This library is useful to ensure that your own components have consistent styling, but there’s not much we can do about third-party components. Distributing React components with CSS publicly is tricky regardless – it’s usually better to provide a dist CSS bundle than to make any assumptions about the build of the application consuming your library (e.g. whether they’re using Webpack, css-loader, etc…).