GithubHelp home page GithubHelp logo

morstis / houdini Goto Github PK

View Code? Open in Web Editor NEW

This project forked from houdinigraphql/houdini

0.0 0.0 0.0 18.97 MB

The "disappearing" GraphQL client

Home Page: http://www.houdinigraphql.com

License: MIT License

Shell 0.01% JavaScript 3.94% TypeScript 84.80% CSS 1.15% HTML 0.09% Svelte 10.01%

houdini's Introduction

Houdini's logo (dark or light)

The disappearing GraphQL client.

version CI Tests github stars downloads license

<script>
    // src/routes/items/+page.svelte
    import { graphql } from '$houdini'

    const AllItems = graphql(`
        query AllItems @load {
            items {
                text
            }
        }
    `)
</script>

{#each $AllItems.data.items as item}
    <div>{item.text}</div>
{/each}

✨  Features

  • Composable and colocated data requirements for your components
  • Normalized cache with declarative updates
  • Generated types
  • Subscriptions
  • Pagination (cursors and offsets)

At its core, houdini seeks to enable a high quality developer experience without compromising bundle size. Like Svelte, houdini shifts what is traditionally handled by a bloated runtime into a compile step that allows for the generation of an incredibly lean GraphQL abstraction for your application.

🕹  Example

For a detailed example, you can check out the example-sveltekit-todo or the final version of the Pokédex application from the Getting Started guide.

📚  Documentation

For documentation, please visit the api reference on the website.

🚀  Getting Started

For an in-depth guide to getting started with Houdini, check out the guide on our website.

✏️  Contributing

If you are interested in helping out, the contributing guide should provide some guidance. If you need something more specific, feel free to reach out on our discord (we are online almost 24/7 like @AlecAivazis and others). There's lots to help with regardless of how deep you want to dive or how much time you can spend 🙂

houdini's People

Contributors

alecaivazis avatar github-actions[bot] avatar jycouet avatar fehnomenal avatar sjcobb2022 avatar pixelmund avatar seppahbaws avatar devunt avatar fnimick avatar 524c avatar frederikhors avatar sorenholsthansen avatar samuelearl avatar rmarscher avatar ximus avatar singingwolfboy avatar ledesmablt avatar alexlafroscia avatar romelperez avatar canastro avatar npupko avatar morstis avatar janvotava avatar mollaridev avatar koakh avatar oplik0 avatar patrickg avatar ronkeiser avatar samuel-utbult-oborgen avatar scottbowles avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.