Periqles screenshot

Periqles

Author Avatar Theme by Oslabs beta
Updated: 25 Feb 2021
119 Stars

React form library for Relay and Apollo

Categories

Overview:

The article discusses the installation and usage of PeriqlesForm, a tool used to add forms to Apollo or Relay clients. It provides step-by-step instructions for installation and explains the prerequisites for using the tool. The article also highlights the importance of having a properly configured server and schema for the tool to work correctly. It describes the available props for the PeriqlesForm component and explains how to customize the form’s appearance and behavior.

Features:

  • Easy Installation: The article provides clear instructions on how to install PeriqlesForm from the terminal.
  • Server Configuration: PeriqlesForm relies on introspection queries to generate the form UI, and the article explains how to configure the server to handle these queries.
  • Schema Requirements: The tool expects named input types on the schema to generate the form UI correctly, and the article explains the importance of ensuring the schema meets these requirements.
  • Customization Options: PeriqlesForm provides various props that allow fine-grained control over the form’s appearance and behavior, and the article explains how to use these props effectively.

Installation:

To install PeriqlesForm, follow these steps:

  1. Make sure you have React version 16.8.0 or higher installed.
  2. Open the terminal and install Periqles using the command: npm install periqles.
  3. Import the PeriqlesForm component in your frontend code.

Summary:

The article provides a comprehensive guide on using PeriqlesForm to add forms to Apollo or Relay clients. It explains the installation process and prerequisites, emphasizes the importance of server configuration and schema requirements, and discusses the customization options available with the tool. This guide is a valuable resource for developers looking to integrate forms seamlessly into their GraphQL clients.