Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/drcmda/react-contextual
/ Invert
Class
Invert
assets/examples/context-decorator.js:6–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
}
5
6
@transformContext(ThemeProvider,
'color'
)
7
class
Invert extends React.PureComponent {
8
// ...
9
}
10
11
@subscribe(ThemeProvider,
'color'
)
12
class
Say extends React.PureComponent {
Callers
nothing calls this directly
Calls
1
transformContext
Function · 0.85
Tested by
no test coverage detected