Markdown Converter
Agent skill for markdown-converter
Views should be pure functions and should only return data (hiccup). There should never be any local state in the views. All state should be stored in the app-db atom and the views get this data as arguments, often adapted to the views responsibilities.
Sign in to like and favorite skills
This app we are working on in this workspace is built with Replicant - https://github.com/cjohansen/replicant - A data-driven, pure ClojureScript virtual dom rendering library that renders hiccup (somewhat extended) to the DOM. Replicant is similar to Reagent, but does not depend on React. In fact it has no dependencies. Unlike Reagent Replicant does not support local state. The app uses the data oriented event bindings offered by Replicant.
Views should be pure functions and should only return data (hiccup). There should never be any local state in the views. All state should be stored in the app-db atom and the views get this data as arguments, often adapted to the views responsibilities.