Update docs/_guide/rendering.md

Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
This commit is contained in:
Simon Taranto 2021-03-05 11:45:13 -07:00 коммит произвёл GitHub
Родитель 57f15d4b5b
Коммит 4e7bceb497
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -51,7 +51,7 @@ Remember that _all_ instances of your controller _must_ add the `<template data-
Sometimes you wont have a template that is server rendered, and instead want to make a template using JS. Catalyst does not support this out of the box, but it is possible to use another library: `@github/jtml`. This library can be used to write declarative templates using JS. Let's re-work the above example using `@github/jtml`:
```
```typescript
import { attr, controller } from "@github/catalyst"
import { html, render } from "@github/jtml"