All Projects → Fundflow → Apollo Redux Form

Fundflow / Apollo Redux Form

Licence: mit
Redux forms powered by Apollo

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Apollo Redux Form

React Auth App Example
An app example with authentication using Create React App, React, React Router, Apollo, GraphQL, Redux and Redux Form.
Stars: ✭ 179 (+244.23%)
Mutual labels:  graphql, apollo, redux-form
Graphql Serverless
Sample project to guide the use of GraphQL and Serverless Architecture.
Stars: ✭ 28 (-46.15%)
Mutual labels:  graphql, apollo
Graphql Config
One configuration for all your GraphQL tools (supported by most tools, editors & IDEs)
Stars: ✭ 883 (+1598.08%)
Mutual labels:  graphql, apollo
React Boilerplate
⚛ The stable base upon which we build our React projects at Mirego.
Stars: ✭ 39 (-25%)
Mutual labels:  graphql, apollo
Mvfsillva
My personal website
Stars: ✭ 13 (-75%)
Mutual labels:  graphql, apollo
React Apollo
♻️ React integration for Apollo Client
Stars: ✭ 6,932 (+13230.77%)
Mutual labels:  graphql, apollo
Graphql Modules
Enterprise Grade Tooling For Your GraphQL Server
Stars: ✭ 962 (+1750%)
Mutual labels:  graphql, apollo
Ionic Apollo Simple App
Explains how to develop Ionic application with Apollo GraphQL client
Stars: ✭ 16 (-69.23%)
Mutual labels:  graphql, apollo
React Apollo Decorators
Better decorators for Apollo and React
Stars: ✭ 39 (-25%)
Mutual labels:  graphql, apollo
Graphql Apq
🎯 Automatic persisted queries (APQ) for any GraphQL server.
Stars: ✭ 43 (-17.31%)
Mutual labels:  graphql, apollo
Typescript Hapi React Hot Loader Example
Simple TypeScript React Hot Loading example with Hapi Server-side rendering
Stars: ✭ 44 (-15.38%)
Mutual labels:  redux-form, react-redux
Usertron
Stars: ✭ 11 (-78.85%)
Mutual labels:  graphql, apollo
Graphql React Apollo
A GraphQL implementation in React using Apollo.
Stars: ✭ 9 (-82.69%)
Mutual labels:  graphql, apollo
React Apollo Defragment
💿 Automatic query defragmentation based on React trees.
Stars: ✭ 14 (-73.08%)
Mutual labels:  graphql, apollo
React Apollo Koa Example
An example app using React, Apollo and Koa
Stars: ✭ 26 (-50%)
Mutual labels:  graphql, apollo
Link state demo
🚀 Demonstrate how to support multiple stores in Apollo Link State
Stars: ✭ 30 (-42.31%)
Mutual labels:  graphql, apollo
Omdb Graphql Wrapper
🚀 GraphQL wrapper for the OMDb API
Stars: ✭ 45 (-13.46%)
Mutual labels:  graphql, apollo
Storefront Api Examples
Example custom storefront applications built on Shopify's Storefront API
Stars: ✭ 769 (+1378.85%)
Mutual labels:  graphql, apollo
Chimp
Tooling that helps you do quality, faster.
Stars: ✭ 783 (+1405.77%)
Mutual labels:  graphql, apollo
Crypto Grommet
Crypto and equities app
Stars: ✭ 39 (-25%)
Mutual labels:  graphql, apollo

Warning. This project is still WIP. Feedback is welcome.

Apollo ReduxForm

ReduxForm powered by Apollo and GraphQL

Features

  • Build forms from GraphQL mutations
  • Init forms from GraphQL queries
  • Store form state in Redux with ReduxForm
  • Submit forms via Apollo

install

npm install @fundflow/apollo-redux-form

How it works

Forms are built from mutation arguments, automagically.

const query = gql`
  mutation createPost($title: String!, $isDraft: Boolean, $views: Int, $average: Float) {
    createPost(title: $title, isDraft: $isDraft, views: $views, average: $average) {
      id
      createdAt
    }
  }`;
const CreatePostForm = apolloForm(query);

// CreatePostForm is a React component implementing a form with input fields corresponding to the mutation arguments

When submit button is clicked, the GraphQL mutation is executed.

It is possible to pre-fill a form with the results of a GraphQL query.

const query = gql`
  query getPost($id: ID) {
    getPost(id: $id) {
      id title isDraft views average createdAt
    }
  }`;
const withInit = initForm(query, { variables: { id: '123' } });
const PrefilledUpdatePostForm = withInit(apolloForm( /* ... */));

A quick look

Some user stories powered by React Storybook.

$ npm install
$ npm run compile
$ npm run storybook
// point your browser to http://localhost:6006/

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].