3 ms·
A lot of the influential developers in the Elm community argue against components keeping their own local state. In fact, if you try to do this in Elm, you'll r
by KurtMueller 9y ago
A lot of the influential developers in the Elm community argue against components keeping their own local state. In fact, if you try to do this in Elm, you'll run into a lot of pain. Instead, all state is stored in a global tree and is passed down to components as needed.