reagent

juhoteperi 2025-09-29T13:54:39.630189Z

2.0.0-alpha3 now out: https://github.com/reagent-project/reagent/blob/master/CHANGELOG.md#200-alpha3-2025-09-29 Two new major features, defc macro to create functional components that work without :f> and reagent.hooks ns. These features and the StrictMode fix cover what was my wishlist to include for 2.0. I might check if there is any final fixes to include here, but otherwise the next steps are more testing, writing some docs and a combined changelog entry with a bit more explanation.

🆒 2
🚀 2
🎉 16
Mateusz Mazurczak 2025-10-03T13:13:26.730249Z

Can't wait for stable 2.0.0! Great to see progress

Pepijn de Vos 2025-10-15T13:01:25.609489Z

I don't really understand what this means tbh, about defc and :f>

Mateusz Mazurczak 2025-10-15T14:20:03.363129Z

@pepijndevos For example, to use react hooks right now (or component that uses them) you need to wrap it in [:f> ...] or it will not work. https://github.com/reagent-project/reagent/blob/master/doc/ReactFeatures.md#function-components

juhoteperi 2025-09-30T07:05:59.618869Z

@ulises.ssb506 Yes, of course, just an additional (I think a better) way to use them, but keeping old code working is top priority.

👍 2
🙏 1
2025-09-29T14:20:23.970689Z

this is quite exciting

2025-09-29T21:31:31.084859Z

Great! Enabling functional components in the compiler will still work?