Why ResizeSensor is a global?
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 351
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 1
Description
Hey,
why don't we import the ResizeSensor at table-sticky-polyfill like every module?
instead of
import { ResizeSensor } from "css-element-queries";
Best regards!
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
Start at addon/-private/sticky/table-sticky-polyfill.js around line 1 and inspect how ResizeSensor is currently referenced. Compare that usage with the proposed import from css-element-queries; done means the module's dependency handling and the reason for using a global are clarified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100