Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nelsonic opened this issue Nov 1, 2018 · 3 comments
Open

Comments

@nelsonic
Copy link

nelsonic commented Nov 1, 2018

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! ✨

@gj262
Copy link
Contributor

gj262 commented Nov 6, 2018 via email

@FadySamirSadek
Copy link
Collaborator

@gj262 Thank you so much for your input.
@nelsonic Please open a PR this is great work 👏.
I will also work with you to help integrate it to TodoMVC as I think we have a big room for improvement in the Beginner tutorial section which I think is extremely important.
Thanks a lot for your desire to contribute to the TodoMVC project

@nelsonic
Copy link
Author

@FadySamirSadek thanks for your feedback.
Please advise what section to open the PR. Should it be as example?
Should I include all the instructions in the README.md (it's 58 pages when printed as a PDF...)
or should I simply link to the tutorial https://github.com/dwyl/todomvc-vanilla-javascript-example
I don't mind either way, I just want to get this to the people who can use it to learn. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants