Skip to content

Yet another straw to consume Frappe, for React

License

Notifications You must be signed in to change notification settings

ssiyad/frappe-straw

Repository files navigation

Frappe Straw

A minimal, pleasant and easy to use Frappe client.
Made with ❤️ at BytSolv.

Warning!

This package is in very active development. Components may or may not work as intended. If you face any issues, report them here. If you want to contribute, please raise a pull request.

Example

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

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

Inspirations

License

GPLv3