Giter Site home page Giter Site logo

shprink / web-components-todo Goto Github PK

View Code? Open in Web Editor NEW
406.0 19.0 65.0 4.24 MB

A simple todo list built with various Web Components technologies

Home Page: https://wc-todo.firebaseapp.com

License: MIT License

HTML 22.99% JavaScript 49.84% CSS 9.50% TypeScript 12.55% Vue 5.12%
web-components stenciljs polymer

web-components-todo's Introduction

web-components-todo's People

Contributors

abennouna avatar eavichay avatar eddyloewen avatar kresnasatya avatar lastmjs avatar rich-harris avatar ryansolid avatar shprink avatar sombriks avatar thepassle avatar timvdlippe avatar treshugart avatar uppercod avatar vogloblinsky 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web-components-todo's Issues

(native) initial todo item incorrectly rendered

When you first display the native demo, the second todo item is not checked, so it is supposed to be incomplete. However, when you mark the first one as complete, the second one is marked completed as well when the component is refreshed.

Likewise, if we start by marking the second item completed, it seems it does not have any effect the first time we click.

The culprit seems to be the line this._checked = false; in TodoItem constructor.

Shouldn't it be this._checked = this.checked; ?

Update visual comparison

First of all thanks for the repo. It's nice to see how these different custom elements solutions compare. I especially find the visual syntax comparison interesting. I noticed that recent additions such as lit-element aren't a part of it.

I'm open to doing a PR with new screenshots, but It won't be the same style/color-highlighting as yours.

(stencil) inconsistent checkbox look

In the StencilJS demo, the checkboxes style needs additional styling.

Tested in:

  • Chrome 64.0.3282.186 (Official build) (64 bits)
  • Safari 11.0.3 (13604.5.6)

Tested:
capture d ecran 2018-03-03 a 12 11 47

Expected:
capture d ecran 2018-03-03 a 12 11 40

Problem running web components todo in Stencil

Hi Julien, I just try web components todo in Stencil via local and install dependencies. When I run npm run dev the folder www overwrite by Stencil like picture below
screen shot 2018-02-09 at 10 00 40 pm
and in my terminal shows error as attached.
screen shot 2018-02-10 at 2 35 17 pm

AFAIK, the folder www is ignore by Stencil so when we run npm run dev or npm run start it will generate a folder www with it’s assets. Can I know the reason why you don't ignore this folder? Could you please advice what should I do to solve the problem? Thanks a lot.

Problem when running Vue TODO in local

Hi Julien, thanks for update web components todo in vue framework. I just test it in local then run npm run start but, it shows empty. Here's is the picture + console.

screen shot 2018-02-13 at 5 57 41 am

screen shot 2018-02-13 at 5 58 12 am

When I test in dist folder after running npm run build:wc && npm run build it works well.

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.