Kioo

screenshot of Kioo

Enlive/Enfocus style templating for Facebook's React and Om in ClojureScript.

Overview:

kiooKioo is a framework that brings Enlive/Enfocus style templates to React. It aims to improve the separation between the view and logic layers of a React application. The project is in early development, so the API is expected to change over time. The term "kioo" means "mirror" in Swahili, symbolizing the concept that the view in a React application reflects the state of the application.

Features:

  • Enlive/Enfocus style templates: kiooKioo allows you to define the structure of your page using standard HTML, similar to Enlive/Enfocus templates.
  • Raw HTML compilation: kiooKioo compiles raw HTML from the class path into React.js nodes, providing a better separation between content and logic.
  • Support for snippets and templates: Snippets are functions that return a kioo component, which can be used as building blocks for more complex templates. Templates, on the other hand, do not require a selector and use the entire remote resource as the DOM.
  • Troubleshooting tools: The framework provides tools like Clojure's macroexpand-1 and clojure.tools.trace/trace-ns for troubleshooting template processing and selector matching.

Summary:

kiooKioo is a framework that brings Enlive/Enfocus style templates to React, allowing for better separation between the view and logic layers of a React application. It supports the compilation of raw HTML into React.js nodes and provides tools for troubleshooting template processing. The project is still in early development, so the API may change in the future.