Coder Social home page Coder Social logo

oamaok / kaiku Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 396 KB

Lightweight JSX-based UI framework with boilerplate-free state managament.

Home Page: https://kaiku.dev

License: MIT License

JavaScript 5.40% TypeScript 94.60%
javascript jsx mutable no-boilerplate state-management tsx typescript ui-library kaiku

kaiku's People

Contributors

bqqbarbhg avatar jussisaurio avatar oamaok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kaiku's Issues

HTML attribute `disabled` might need special handling

Using JSX attribute disabled={true|false} does not work as one might intuitively expect, I tested that at least React handles this as one would expect. The correct behavior can still be achieved by passing disabled={undefined} instead of false which makes sense given how it behaves in HTML, so if you want to require users to do this in the name of library size maybe there should at least be a warning in development builds.

Reproducible on the playground with the following example:

export default function DisabledInput() {
  // The input should _not_ be disabled, but you cannot interact with it
  // Results in: <input type="input" disabled="false">
  return <input type="input" value="test" disabled={false} />
}

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.