ruby-hyperloop / hyper-component

The project has moved to Hyperstack!!
https://hyperstack.org/
MIT License
1 stars 3 forks source link

state test: false will init to nil #3

Closed fzingg closed 6 years ago

fzingg commented 7 years ago

state test: false will init to nil whereas state test: true will init to true

So if you have for example:

Sem.Sidebar(visible: state.test)

will not work because false is waited.

Workaround: Use visible: !!state.test OR state :test { false }

janbiedermann commented 6 years ago

fixed in lap10