YerkoPalma / frontend-stack-playground

:trident: One step after vanilla javascript, one step before frameworks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

frontend-stack-playground

đź”± One step after vanilla javascript, one step before frameworks.

Why?

I've got tired of js frameworks, so I will start to experiment with different js stacks. composing libraries is more fun than learning oppinionated frameworks. At the end, I would have the basic experience and maybe some benchmarking to make some decisions.

How?

If there are already a lot of js framework choices, there is even more js libraries. So, I arbitrary selected some of them and mixed in this repo, accross different project folders. Every folder is supposed to be the same app, only changing the js stacks, so, there are some common files. Also, there is only one folder for benchmarking, as the same test would be applied to every app.

The app

The app is a simple blog, with common css files. The state model must support posts with comments, and manage routes to visualize them. The routes are:

/posts
/posts/:post_id
/posts/:post_id/comments

The model structures are:

const post = {
  title: '',
  date: {},
  content: '',
  author: '',
  comments: []
}

const comment = {
  author: '',
  content: '',
  date: {}
}

The actions for the state container are:

const ADD_POST

Stacks

Go to each one of the following folders to check the implementations

License

MIT

About

:trident: One step after vanilla javascript, one step before frameworks.

License:MIT License


Languages

Language:JavaScript 60.9%Language:CSS 34.1%Language:HTML 5.0%