cultureamp / react-elm-components

Write React components in Elm

Home Page:https://www.npmjs.com/package/react-elm-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This works only with programWithFlags ?

franzejr opened this issue · comments

No, it should work with everything. If you provide a flags property, the value will be given to Elm. In that case, you need to use programWithFlags. If you do not provide a flags property, there is nothing to give, so you need to use program.