airbnb / airbnb/react-outside-click-handler

Error with`forbidExtraProps` and scoped.css?

Open
#51 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
611
Forks
64
PR merge metrics
No merged PRs in 30d

Description

I use scoped.css where everytime I import the css, it will append some random identifier to the component as the css selector. This will create an error to this library because of the `forbidExtraProps` function

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported error when using scoped.css with the component, then inspect the forbidExtraProps path and any related tests or entry points. Done means the scoped.css usage no longer triggers the error while the library's extra-prop checking still behaves as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.