Skip to content

How to Build a TodoMVC App from scratch in VanillaJS (tutorial/example) #1950

@nelsonic

Description

@nelsonic

Greetings TasteJS Creators! 👋

Love the work you have done with TodoMVC to help people with comparing JS frameworks! ❤️

I felt there was a "gap" in the ecosystem around teaching complete beginners how to build a TodoMVC App from scratch following TDD using VanillaJS so I wrote the example/tutorial:

https://github.com/dwyl/todomvc-vanilla-javascript-elm-architecture-example

I consider it a "non-framework implementation" worthy of inclusion in the list.
The use of the Elm Architecture (pattern) is simply to organise the code and "rendering flow",
no framework is used and all code is clearly commented.

If you agree that the example is worth of inclusion, please leave a comment,
I'd be delighted to create a Pull Request following the contributing.md guide.

The code is already pretty readable: https://github.com/dwyl/todomvc-vanilla-javascript-elm-architecture-example/blob/master/lib/todo-app.js
But I'm happy to re-format to code style guide if it will help with consistency/readability.

Look forward to hearing your thoughts!
Thank you! ✨

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions