in ,

Crank.js – Write JSX-driven components with functions, promises and generators, Hacker News

Write JSX-driven components with functions, promises and generators.

Get Started

Declarative components

Crank uses the same JSX syntax and diffing algorithm popularized by React, allowing you to write HTML-like code directly in your JavaScript.

Just JavaScript ™

All components in Crank are just functions or generator functions. No classes, hooks, proxies or template languages ​​are needed.

Promises today

Crank provides first-class support for promises. You can use async / await directly in components, and race components to display fallback UIs.

Read More

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Goat 2 Meeting – Sweet Farm, Hacker News

Second African locust swarm of the year 20 times bigger than the first, Ars Technica

Second African locust swarm of the year 20 times bigger than the first, Ars Technica