Giter VIP home page Giter VIP logo

hako's Introduction

Hako

[็ฎฑ - hah-koo - box - ๐Ÿ“ฆ]

hako-banner

Swift Xcode MIT

Hako is a barebone, thread-safe state container written in Swift. The first building block in a scalable and predictable, UI-centric architecture. It was designed with SwiftUI in mind, but can be used with UIKit/AppKit as well and works on all Apple platforms.

Guiding principles

Simplicity

An architecture with a steep learning curve opens the path to ambiguity and, in time, disaster. Which is exactly what Hako tries to avoid. In fact, Hako is so uninvolved you could probably build it yourself in less than a day. This library is all about the idea, not the implementation.

A strong core, but soft edges

Although heavily opinionated on how state should be managed in an UI-centric app, Hako adds just a few core concepts, allowing the developer to extend and build uppon them with great flexibility.

Testability

Beyond being simple, a solid architecture should allow the overlying codebase to be easily tested.

Ergonomics and a developer-first approach

As developers, we're spending much more time reading code than writing code. Hako attempts to make state management a pleasure to read, follow and understand.

hako's People

Contributors

valentinradu 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.