Skip to content

Commit 047b87d

Browse files
committed
docs: include link to renderer for web components
1 parent 09c75ce commit 047b87d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/routes/(documentation)/docs/renderer/renderer.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Write a plugin for another framework
22

3-
Gardenjs currently supports <a href="https://github.com/gardenjs/render-plugin-svelte" target="_blank" title="Go to the Svelte renderer Repository">Svelte</a>, <a href="https://github.com/gardenjs/render-plugin-vue" target="_blank" title="Go to the Vue renderer Repository">Vue</a> and <a href="https://github.com/gardenjs/render-plugin-react" target="_blank" title="Go to the React renderer Repository">React</a> - also in multi-framework projects. In order to make Gardenjs compatible with other frameworks and template languages, a corresponding render must be added as a plugin.
3+
Gardenjs currently supports <a href="https://github.com/gardenjs/render-plugin-svelte" target="_blank" title="Go to the Svelte renderer Repository">Svelte</a>, <a href="https://github.com/gardenjs/render-plugin-vue" target="_blank" title="Go to the Vue renderer Repository">Vue</a> and <a href="https://github.com/gardenjs/render-plugin-react" target="_blank" title="Go to the React renderer Repository">React</a> - also in multi-framework projects. And a third-party renderer for <a href="https://github.com/direct-democracy-solutions/gardenjs-render-plugin-webcomponents" target="_blank">Web Components</a> is currently being developed here.
4+
5+
In order to make Gardenjs compatible with other frameworks and template languages, a corresponding render must be added as a plugin.
46

57
A renderer must export a `create` function which returns an object with two functions: `destroy` and `updateComponent`. The `updateComponent` function accepts an object with following properties:
68

0 commit comments

Comments
 (0)