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