tags
An app state of note tags currently loaded for the sidebar.
You can obtain the tags
state and integrate it with React components.
Data Structure
Get the tags
state manually:
const { tags } = inkdrop.store.getState()
Connect the state with your React component:
import { useSelector } from 'react-redux'
const selector = ({ tags }) => tags
const MyComponent = props => {
const tags = useSelector(selector)
// render
}