Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[storybook/ui] add react16 to peerdeps #2091

Closed
brucewpaul opened this issue Oct 18, 2017 · 10 comments
Closed

[storybook/ui] add react16 to peerdeps #2091

brucewpaul opened this issue Oct 18, 2017 · 10 comments
Assignees

Comments

@brucewpaul
Copy link

brucewpaul commented Oct 18, 2017

It seems as though there are a some things holding back adding react 16 as a peerdep to storybook/ui. Here is what's needed from what we can tell:

react-modal

  • currently at 2.4.1, needs to be bumped to ^3.0.0

react-komposer

react-treebeard

[email protected] (required by manta-core as well)

  • seems like it's not being actively maintained

[email protected] (required by react-komposer as well)

  • seems like it's not being actively maintained

Is it feasible to move away from react-stubber/react-simple-di so that the road to expanding the peerDependencies is clearer?

@brucewpaul
Copy link
Author

seems like forks were made for react-simple-di and mantra-core (kadirahq/react-simple-di#12 (comment)) that, if used, would help

@Hypnosphi
Copy link
Member

Hypnosphi commented Oct 18, 2017

Please feel free to open PRs for updating react-modal and react-treebeard (as soon as it gets released).

@ndelangen I think we have to migrate from mantra/podda/komposer stack to something more actively maintained (like redux or mobx). What do you think?

@brucewpaul
Copy link
Author

@Hypnosphi will do

I would also be interested in helping out with this effort as storybook/ui is our last dependency holding us back from upgrading to react16

@ndelangen
Copy link
Member

@ndelangen I think we have to migrate from mantra/podda/komposer stack to something more actively maintained (like redux or mobx). What do you think?

Yes, although I wonder if we even have a use-case for a state management library to begin with?

@Hypnosphi
Copy link
Member

We kinda have one, because we have external actions (from addons)

@mperrotti
Copy link

I have a pre-commit hook that runs yarn check, so I'm unable to submit new work for PR after upgrading to the latest Storybook.
Any recommendations for how to get around these issues in the short-term? Sadly, --no-verify isn't an option :(

@Hypnosphi
Copy link
Member

Hypnosphi commented Nov 14, 2017

in the short-term

I'm sorry but we have to admit that there's no quick solution here

UPD: oh, looks like there is one: #2303 (comment)

@danielduan
Copy link
Member

I'm going to close this since #2314 on 3.2.16 should fix the last of the dependencies on the list here. Let me know if it doesn't.

@Hypnosphi
Copy link
Member

Hypnosphi commented Nov 16, 2017

Any recommendations for how to get around these issues in the short-term

@mperrotti Can you please try 3.2.16 release? We removed the react version conflicts, so probably all you'll need to do will be add some dependencies like prop-types in your project

@mperrotti
Copy link

@Hypnosphi - that takes care of the issues. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants