Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ isComponentSaved
Function
isComponentSaved
src/utils/favorites.js:29–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
export
const
getSavedComponents = () => read();
28
29
export
const
isComponentSaved = key => read().includes(key);
30
31
export
const
addSavedComponent = key => {
32
const
list = read();
Callers
2
cellRenderer
Function · 0.90
TabsLayout
Function · 0.90
Calls
1
read
Function · 0.70
Tested by
no test coverage detected