purescript-thermite icon indicating copy to clipboard operation
purescript-thermite copied to clipboard

effectful initial state

Open martyall opened this issue 7 years ago • 5 comments

This pr is a breaking change that allows for effectful actions while retrieving initial state for the component.

martyall avatar Nov 14 '17 21:11 martyall

I just noticed all the package-lock changes made it in, should I take them out?

martyall avatar Nov 14 '17 21:11 martyall

That file should just be deleted actually. Would you mind?

paf31 avatar Nov 14 '17 22:11 paf31

done

martyall avatar Nov 14 '17 22:11 martyall

Thanks! I plan to merge this as a breaking change along with updates for the latest react package.

paf31 avatar Nov 19 '17 20:11 paf31

If I'm not mistaken, in React v16.x, there is no ability to create a component without an immediate, pure initial state - https://pursuit.purescript.org/packages/purescript-react/6.1.0/docs/React#t:ReactSpecRequired - ping @blinky3713

athanclark avatar Feb 20 '19 01:02 athanclark