Giter VIP home page Giter VIP logo

Comments (5)

gadfly361 avatar gadfly361 commented on August 21, 2024

Thanks! I updated the recipes to use :component-function instead of :render.

from reagent-cookbook.

mike-thompson-day8 avatar mike-thompson-day8 commented on August 21, 2024

Thanks!

from reagent-cookbook.

mike-thompson-day8 avatar mike-thompson-day8 commented on August 21, 2024

I'm really sorry about this, but I've given you bad advice here.

After Dan gave his blessing for ongoing use of :component-function there was much negative comment about the name, and so Dan has instead chosen :reagent-render.

So now we're faced with:

  • before 0.5.0: use :component-function (in theory this was never a part of the official API)
  • 0.5.0 and after: use :reagent-render (officially a part of the API)

Maybe the cookbook examples should return to using straight :render until after 0.5.0 is released? Promoting :reagent-render is a good idea, but not until it is official.

Sorry again.

from reagent-cookbook.

gadfly361 avatar gadfly361 commented on August 21, 2024

Oh, no need to be sorry! I wasn't even aware of :component-function to begin with, so I am glad you brought it up. I agree about promoting it once it is renamed to :reagent-render and official in the next reagent release. Until then, I converted everything back to :render.

from reagent-cookbook.

gadfly361 avatar gadfly361 commented on August 21, 2024

Now that reagent 0.5.0 is out, I updated the recipes to use :reagent-render

from reagent-cookbook.

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.