hybridsjs / hybrids

Extraordinary JavaScript UI framework with unique declarative and functional architecture
https://hybrids.js.org
MIT License
3.03k stars 85 forks source link

Component properties cannot be setted until they are observed #266

Closed Qsppl closed 3 weeks ago

Qsppl commented 4 weeks ago

example: https://codepen.io/qsppl/pen/LYKLoJJ

The observed behavior is not obvious. The first time library users encounter this behavior, it will be confusing.

smalluban commented 3 weeks ago

Is this valid? As some of the actions fail with the new version (as setting values in the value function is forbidden)?

Qsppl commented 3 weeks ago

Oh, this is no longer relevant. The issue is resolved in another question: https://github.com/hybridsjs/hybrids/issues/265