Description
This will also ideally serve as a blog post to promote phantom
out there in the wild.
examples/pizza
and examples/todo
are good candidates because of their simplicity. Currently calculator
is a bit too complex, even though it demonstrates more scalable organization patterns.
The article should demonstrate the simplicity of creating reactive UI components with phantom
. The data-phantom
requirement for stateful elements must be clearly demonstrated.
We also need to mention about/link to Redux and Webpack docs. phantom
users ideally have to be familiar with the fundamentals of both to start a project. Perhaps mini-tutorials inside the article could work well.
Sections
- Getting started
- Installing
webpack
and necessary loaders webpack.config.js
- Installing
redux
- Creating a Redux store (state, reducer)
- Initializing
phantom
- Creating the layout/components
- Adding event listeners + utility functions
- Adding styles
The article must be rich in screenshots and code snippets. It should be written with a beginner in mind.