oamaok / kaiku Goto Github PK
View Code? Open in Web Editor NEWLightweight JSX-based UI framework with boilerplate-free state managament.
Home Page: https://kaiku.dev
License: MIT License
Lightweight JSX-based UI framework with boilerplate-free state managament.
Home Page: https://kaiku.dev
License: MIT License
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} />
}
The following call count should stay at 7. The comment above is also wrong.
Line 229 in 321e6ab
Also reference the obj
, not the proxy
. Faster access, as access to the proxy
variable will always go through then handler.
Line 415 in 9824297
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.