mjackson / mjackson/react-style
Default to using inline styles
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Seems like the default for styling should be to put the styles on the element itself instead of in a stylesheet, so you can do stuff like animation. However, things that can't be done inline (e.g. :hover) need to be done in a stylesheet.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the project's styling implementation and examples, then determine how the current default chooses between inline styles and stylesheets. Done means styles default to the element when possible, while selectors such as :hover still use a stylesheet, with the behavior covered by the project's existing tests or examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100