News for hackers. Stuff that matters.
Re:Ask HN: Go-to web stack today? by 0xCMP on Saturday January 05, 2019 @01:23AM (#18830307)
You can avoid flux longer by simply making a component which stores that shared state, passes it down via props to children, and along with some callback functions to update that state. It is almost exactly what is needed most times and it prevents a problem we’ve dug our selves into before which is making everything via the store because we didn’t want to pass so many props.
Re:Ask HN: Go-to web stack today? by aloukissas on Saturday January 05, 2019 @01:29AM (#18830327)
Re:Ask HN: Go-to web stack today? by Eyes on Saturday January 05, 2019 @05:35AM (#18830956)
Why do so many people forget about context?
Re:Ask HN: Go-to web stack today? by ludwigvan on Saturday January 05, 2019 @05:44AM (#18830990)
Because it was internal and undocumented for a while and was properly exposed as an API only a few releases ago.
Re:Ask HN: Go-to web stack today? by ed_balls on Saturday January 05, 2019 @08:48AM (#18831604)
It's not perfect. It's implicit.