cssinjs / cssinjs/jss

Warn when someone applies the same plugin more than once

Open
#684 0 comments 0 reactions 0 assignees View on GitHub
complexity:moderate feature request
Dominant language
JavaScript
Stars
7.1k
Forks
386
PR merge metrics
No merged PRs in 30d

Description

Originates in https://github.com/cssinjs/jss/issues/683

We should detect if plugin has been applied already and warn. To achieve this we could add a plugin name to each plugin, because we can't use hook refs

Contributor guide

Open the contributing guide

Research direction

Start by reading the related issue #683 and tracing where plugins are applied in JSS. Determine how duplicate applications can be identified without hook references, then define the warning behavior and verify that repeated plugin application is detected without affecting a plugin applied once.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.