0.6.3 • Published 6 years ago
davey v0.6.3
👦🏻 davey
Dave's alternate view engine yeah!
Using my brain to recreate React, Redux and CSS-in-JS from scratch/memory. I promise not to read any React or Redux docs or articles while creating this. This is the analog to React
.
JSX
Use w/ Typescript
- Add below your tsconfig.json
{
"compilerOptions": {
"jsx": "react",
"jsxFactory": "davey"
}
}
Use w/ Babel
yarn add --dev transform-react-jsx
- Add below your .babelrc
{
"plugins": [["transform-react-jsx", { "pragma": "davey" }]]
}
Quick start
git clone git@github.com:ifyoumakeit/davey-starter.git
cd davey-starter
yarn
yarn build