Comments (5)
Thanks! I updated the recipes to use :component-function instead of :render.
from reagent-cookbook.
Thanks!
from reagent-cookbook.
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.
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.
Now that reagent 0.5.0 is out, I updated the recipes to use :reagent-render
from reagent-cookbook.
Related Issues (20)
- might be a good recipe for doing server side rendering HOT 2
- Drag and drop example HOT 1
- Missing License HOT 1
- Markdown editor recipe needs to include content in the args to the render fn HOT 10
- typo in Draggable recipe HOT 1
- Routing with secretary and using dispatch! HOT 1
- File upload recipe HOT 6
- PDF.JS HOT 1
- file upload example is advertising, not tutorial HOT 1
- Use CLJSJS for Google-Maps example HOT 1
- Tip: Improving devcards experience with error-boundary HOT 2
- File upload example: callback function? HOT 4
- reagent-server-rendering puzzle? HOT 4
- Recipe correction for google-maps recipe HOT 1
- Thanks so much for this project! HOT 3
- filter-table index.html and project.clj discrepancy HOT 1
- Update ReactCSSTransitionGroup example? HOT 1
- Where is section on namespaces / imports / project structure HOT 1
- Update dependencies HOT 2
- `test-example-with-ReactTestUtils` fails with error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reagent-cookbook.