Skip to content

React 16 Updates #62

@Friss

Description

@Friss

So now that React 16.3 has landed a few internal methods have changed so general-store will need some changes to stay up to date.

Component methods being deprecated

Other potienally useful things

  • createRef
    • I noticed that we create refs on connect which actually throws a warning if you try to do that on a stateless component. We might be able to use the new ref API to make this more seamless. 🤷‍♂️
  • context
    • There is the new context api which might be useful for providing the store connections. It looks pretty sweet.
  • suspense
    • Being able to suspend some store subscriptions would be nice for fetching data.

@colbyr @marcneuwirth @Phoenixmatrix @WhoeverElseCaresAboutGeneralStore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions