8000 GitHub - ssiyad/frappe-straw: Yet another straw to consume Frappe, for React
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ssiyad/frappe-straw

Repository files navigation

Frappe Straw

Minimal, pleasant and easy to use Frappe client.
Made with ❤️ at Bytsolv.

Demo

You can install the demo app from here. It contain example code and a playground. This can also be used as a test suite for development of this plugin.

Installation

npm install frappe-straw

Example

import { useDocument } from 'frappe-straw';
import { type BaseDocument } from 'frappe-straw/types';

const { data, error, loading, refresh } = useDocument<BaseDocument>(
  'Role',
  'Guest',
  {
    fetchOnMount: false,
  },
);

Inspirations

Self Promotion

Like this project? Give it a star! ⭐, and spread the word! 🚀. And if you are feeling especially charitable, follow Sabu Siyad on GitHub

0