Giter Club home page Giter Club logo

div.js's Introduction

๐Ÿ‘‹ Hi, I'm Will

I like to make stuff for the web.

๐Ÿ˜„ Pronouns: he/they

๐ŸŒ Check out my website!


๐Ÿ’ฌ Latest blog post: Mastodon is like email

div.js's People

Contributors

liamdebeasi avatar pika-pool avatar willmartian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

div.js's Issues

Add isnot attribute

First of all, thanks for making HTML easy to work with.

But as a fellow HTML developer, I know that sometimes you do not really know what you want your div to be, but you surely know what you don't want it to be.

For example, you want a title, but not too big, and not too small either.
Any dev thought process would be something like:
I could use <html> tag but no, that is the name of my programming language.
I could use <base> but I have no idea what it is.
etc.

So, to ease the current syntax we could use:

<div isnot="html; base; link; head; meta; style; body; article; section; nav; aside; h1; h2; h3; h5; h6; hgroup; header; footer; address; p; hr; pre; blockquote; ol; ul; menu; title; li; dl; dt; dd; figure; figcaption; main; div; a; em; strong; small; s; cite; q; dfn; abbr; ruby; rt; rp; data; time; code; var; samp; kbd; sub; sup; i; b; u; mark; bdi; bdo; span; br; wbr; ins; del; picture; source; img; iframe; embed; object; param; video; audio; track; map; area; table; caption; colgroup; col; tbody; thead; tfoot; tr; td; th; form; label; input; button; select; datalist; optgroup; option; textarea; output; progress; meter; fieldset; legend; details; summary; dialog; script; noscript; template; slot; canvas">This is my title.</div>

Then, you are sure this is a <h4> header.
This would be more readable and could count as documentation.

May you suffer for years for this package

I'm releasing a package to simplify your package, where users will only have to type <e is="div"></e> because a developer's time is precious and we all know how time consuming it is to type div constantly.

๐Ÿ˜‚

Missing unit tests

Although I find this extremely useful, our company is reluctant to use this until unit tests are defined.

can't create divs

Added

<div is="div">
      <div is="p">hello</div>
</div>

and my page hangs

please, fix ASAP

Add React version

I think this product is a good start on it's own, but to really evolve it in the enterprise space, i think a plugin or extension for React.js is needed.

A simple custom component with an is prop into a React.createElement() call might already do.

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.