Ongoing attempt to standardise a DOM Templating API in browsers

llcooliovice1 pts0 comments

GitHub - justinfagnani/dom-templating-api-proposal: A proposal for a new DOM Templating API · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

justinfagnani

dom-templating-api-proposal

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star<br>37

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>62 Commits<br>62 Commits

.github/workflows

.github/workflows

.vscode

.vscode

packages

packages

.gitignore

.gitignore

.prettierrc.json

.prettierrc.json

DOM-SCHEDULER.md

DOM-SCHEDULER.md

EXPLAINER.md

EXPLAINER.md

README.md

README.md

package-lock.json

package-lock.json

package.json

package.json

View all files

Repository files navigation

DOM Templating Proposal

The repo contains a proposal for a DOM templating API.

See the main explainer document and the DOM Scheduler<br>API documents for more details.

Packages

dom-templating-prototype: A<br>prototype of the templating API implemented in JavaScript

dom-scheduler-prototype: A prototype<br>of the DOM scheduler API implemented in JavaScript

dom-template-tsx: TypeScript<br>transformer to convert JSX to the DOM templating API proposal

hook-framework-demo: A simple<br>React-like functional framework with hooks, built on top of the template and<br>scheduler APIs and the JSX transform.

Planned Packages

Examples

A Solid-like Signals-based demo framework

Utilities:

A DOM morphing function that applies a template by morphing existing DOM

Directives: repeat, cache, guard, etc.

SSR

Server rendering library prototype

Client-side hydration library prototype

A web component base class prototype

Benchmarks.

Benchmarks that can run against any implementation of the DOM Templating<br>API, and comparable benchmarks for userland libraries like lit-html, React,<br>etc.

About

A proposal for a new DOM Templating API

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

37<br>stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

TypeScript<br>99.8%

JavaScript<br>0.2%

You can’t perform that action at this time.

templating proposal prototype reload json scheduler

Related Articles