svere Svelte Themes

Svere

🔱 Svelte component runs everywhere, adapter for react/vue2/vue3/svelte.

svere

Write components once, run everywhere. Make svelte components run inside React or Vue applications.

PRs Welcome License Downloads


Managing support for libraries that provide UI components across frameworks is a pain, especially when Web Component are not an option (e.g. for server side rendering, best performance, etc).

At present, the svelte framework is developing rapidly. It is a good backward compatibility solution to make svelte components run in the old react or vue project, especially when the team's technology stack is not unified, this provides an idea of cross-framework sharing component.

CORE

Adapters for react、vue2 and vue3

CLI

An all-in-one cli for quickly create svelte components

How does it work

Svere contains several adapters for React/Vue2/Vue3 which allows you to pass props and respond to events in a way that makes sense for that library. Also, it provides a cli to quickly create svelte components that can be shared across components.

Svere use the life cycle hooks of each framework to complete the mounting, updating and uninstalling of svelte components.

Value and efficacy

  1. Increased efficiency

Focus on the writing of business components without caring about the user, which greatly improves the development efficiency

  1. Cross-stack reuse

Solve the problem of sharing a single component between different technology stacks, and achieve a certain sense of environment independence

  1. Visual Unity

Only one piece of code is maintained, and the performance of components under different technology stacks can be guaranteed to be consistent

Top categories

Loading Svelte Themes