replicant icon indicating copy to clipboard operation
replicant copied to clipboard

A native ClojureScript virtual DOM renderer - render hiccup directly

Results 6 replicant issues
Sort by recently updated
recently updated
newest added

I am experimenting with replicant and came across the following difficulty. If I change a "view" from say: [:p {:id "a"}] to [:p {:id "b"}] Then the lifecycle events that...

To stop the unmounting transition from nuking the hiccup symbol id * See #30 I couldn't figure out how to test the change to the `get-unmounting-attrs` function directly in any...

While the `:replicant/unmounting` style is applied the element gets stripped of it's `id` attribute. But only if it is a “literal” id, i.e. on the element keyword, like `:div#foo`. So,...

Since we can render to string, we can render on the server. The missing piece is hydrating the events for existing DOM on the client. Is adding hydration in scope?

There's a bug with rerendering when using unmounting transitions. Here's a repo with a small example reproducing the bug and some more info. https://github.com/2food/replicant-rerender-bug/tree/main Edit: I found another rerender-bug when...

Raised by `tianshu` [on Slack](https://clojurians.slack.com/archives/C06JZ4X334N/p1749898124907269), I'm just reproducing it here so it doesn't get lost. Original description by `tianshu`: > How replicant detects whether render is triggered in another trigger?...