loreanvictor / rsx

idea: how would first-hand support for reactive programming in JS look like?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rsx

idea: how would first-hand support for reactive programming in JS look like?

Proposed Rules

RSX Code JS Equivalent
const x@ = 2
const x = new BehaviorSubject(2)
const a = @b + @c * 2
const a = computed(() => $(b) + $(c) * 2)

About

idea: how would first-hand support for reactive programming in JS look like?

License:MIT License