Resources for Sitepoint Article
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of danprince:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
deps
editors
src
.gitignore
Makefile
README.md
package.json

README.md

Virtual DOM + JSX Showdown

Comparing React with three other virtual DOM libraries that support JSX components by building a simple component based markdown editor.

Read the article on SitePoint: 3 Lightweight React Alternatives: Preact, VirtualDom & Deku

React

Deku

Preact

Virtual DOM

Builds

This repository contains everything you need to make performance testing builds for the markdown editors. An ES5 snapshot of the Codepen sources has been included in src/ and you can install the other dependencies with npm install. Run make minify to create a build, then find the appropriate HTML in editors/.

Compile

Use make compile to create an unminified build.

Minify

Use make minify to create a minified build.

Gzip

Use make gzip to gzip a minified build (size testing artifact).

Minify Deps

Use make minify-deps to create a minified versions of each dependency (size testing artifact).

Clean

Use make clean to delete all built code.

License

The MIT License (MIT)

Copyright (c) 2016 SitePoint

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.