Skip to content

Wait I am confused #338

Answered by Tao-VanJS
samadadi asked this question in Q&A
Discussion options

You must be logged in to vote
  • VanJS: Supports JSX-free DOM composition, states and state bindings. Suitable for CSR (client-side rendering), helpful for building feature-rich client-side apps, including SPA (single-page application).
  • Mini-Van: Only supports JSX-free DOM composition (all state and state binding related APIs have only dummy implementation without reactivity). Primarily suitable for SSR (server-side rendering), though you can do CSR with Mini-Van if your app doesn't need reactivity.
  • You can build shared UI components that work with both VanJS and Mini-Van, making the components reusable on both server-side and client-side.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Tao-VanJS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants