Giter VIP home page Giter VIP logo

Comments (7)

pepe avatar pepe commented on July 25, 2024 2

It indeed was for me. Actually I am liking this library more and more. I event did some example project with it: hxor. It is right for usage with shadow-cljs.

Thanks man!

from hx.

pepe avatar pepe commented on July 25, 2024 1

Sorry, I just found out, you are in the process of quite big refactoring. You can ignore this comment.

Hi. I am seeing it also. Do you think it can force to update components, even if the rendered DOM has not changed?

from hx.

lilactown avatar lilactown commented on July 25, 2024

😅 thanks for commenting though. Yeah, hoping to solve this in the refactoring.

from hx.

lilactown avatar lilactown commented on July 25, 2024

It looks like this was fixed in the refactoring I've done

from hx.

lilactown avatar lilactown commented on July 25, 2024

Great! 😄 There are still a few things that I feel like I need to get right with it, but I'm glad you are enjoying it!

I took a look at your example project. I'd never heard of funcool/potok. It's pretty cool!

I noticed that you're calling hiccup/parse a couple times in component.cljs. Specifically here:

https://github.com/pepe/hxor/blob/master/src/hxor/components.cljs#L12

https://github.com/pepe/hxor/blob/master/src/hxor/components.cljs#L22

https://github.com/pepe/hxor/blob/master/src/hxor/components.cljs#L32

Those should not be necessary 😉. As long as the vectors are realized at runtime in the return value of defnc, then they will be interpreted correctly.

If that's not clear from the docs (or that actually isn't working), feel free to open up another issue!

from hx.

pepe avatar pepe commented on July 25, 2024

Great! Thank you very much. I will fix it.

Potok is in my opinion the best way to handle the state of the app. And Beicon (RxJS wrapper in cljs, on which Potok is based) is of similar idea as hx, I believe.

from hx.

pepe avatar pepe commented on July 25, 2024

It's fixed in hxor, thank you again.

from hx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.