jasonslyvia / jasonslyvia/react-marquee
Maybe translate3d() has better performance than simple position right?
- Dominant language
- JavaScript
- Stars
- 79
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
how about this one ?
```
const style = {
//'position': 'static',
'position': 'relative',
'display': 'inline-block',
//'right': this.state.animatedWidth,
'transform': `translate3d(-${this.state.animatedWidth}px, 0px, 0px)`,
'whiteSpace': 'nowrap'
};
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the marquee component's positioning and animation implementation; no file or test is named in the issue. Compare the existing position/right approach with the proposed translate3d style for equivalent behavior and performance, then verify that marquee movement remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100