TGViewer
Effector news Effector news @effector_news · 721 subscribers
Post #462 1.81K
@effector/reflect 10.1.0

✨ Новая фича: mapProps


const Hello = reflect({
view: Greeting,
bind: {
// ...
},
mapProps: {
label: {
source: $user,
fn: (user, props) => `${props.title} ${user.name}`,
},
},
});


Спасибо @olovyannikov_frontend за пуллик!

📚 Документация: https://reflect.effector.dev/docs/reflect#deriving-props-with-mapprops
GitHub Release v10.1.0 · effector/reflect 🚀 Features add mapProps for reflect() to derive view props from store state and props #102 (@Olovyannikov)
  • 🔥 9
  • ❤ 1
  • 🎉 1
More from @effector_news
  1. Sep 11, 2026effector-vue 23.2.0 • Исправлена работа вложенной реактивности в useVModel и useGate в vue…
  2. Jul 20, 2026Post #463
  3. Jun 16, 2026effector-eslint-plugin v0.19.0 ✨ Новое правило: enforce-exhaustive-useUnit-destructuring –…
  4. Jun 11, 2026Коммунити, принес вам потрогать очередную дата-фетчилку для эффектора. Паритет с farfetche…
  5. Jun 6, 2026Мы с Эдвардом залетели на стрим, рассказываем про произошедшую историю https://t.me/holyjs…
  6. Jun 4, 2026🚀 effector-tanstack-query v1.0.0-rc.1 — RC перед стабильной 1.0 Адаптер из 0.1.1 оброс фи…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →