Giter VIP home page Giter VIP logo

soil's People

Contributors

dependabot[bot] avatar fossabot avatar inad9300 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fossabot

soil's Issues

DeepPartial is slow

I know there is no proper workaround - we have to wait for TypeScript 2.8, but still I think that DeepPartial is extremely slow. I have for now changed it to:

export type DeepPartial<T> = {} | T

which kind of works, but does not throw on non existing properties...

couple of small things :)

Wow, perfect library! Just what I was looking for ;).

Many years ago I started with JQuery, then continued with Knockout, VueJS, React, Mithril. Just recently I realised that virtual DOM is overkill for most situations so I started playing with RE:DOM. I did not like the experience (I love TypeScript). And now I found Soil! ๐Ÿ‘ Together with Type-Style it will cover most of my needs ;). Thanks for the hard work you put into it!

I have a couple of tiny little comments:

  • h.form([]) does not shoot a type error but it should probably because it fails in runtime
  • Some types in lib.es2016.full.d.ts such as HTMLSelectElement contain [name: string]: any; which then allows to add e.g. class as attribute, which does not work. I do not know the reasoning of the TypeScript team behind but I would probably prefer to shoot an error if an unknown property was added to e.g. h.select element. What do you think about it?

Improve type definitions for children of SVG elements

Currently, the children of HTML elements are restricted according to the information available at https://www.w3.org/TR/html52/fullindex.html#index-elements and https://www.w3.org/TR/html52/fullindex.html#element-content-categories. Similar information should be possible to obtain for SVG elements โ€“ MDN displays such information, for example at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG#Usage_context.

(Current SVG specification: https://www.w3.org/TR/SVG2/.)

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.