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

[fluxible-addons-react] react 16 task list #654

Closed
14 tasks done
redonkulus opened this issue Sep 24, 2020 · 26 comments
Closed
14 tasks done

[fluxible-addons-react] react 16 task list #654

redonkulus opened this issue Sep 24, 2020 · 26 comments
Assignees

Comments

@redonkulus
Copy link
Contributor

redonkulus commented Sep 24, 2020

@pablopalacios

We want to support the latest and great features of React, while deprecating older features. This will facilitate a new 1.x major version release in fluxible-addons-react.

Tasks

Resolves

@pablopalacios
Copy link
Contributor

@redonkulus regarding the polyfills: given that we didn't add any, could we mark this as done? (react deprecation was done in #653 )

@redonkulus
Copy link
Contributor Author

Sure, that's fine.

@pablopalacios
Copy link
Contributor

@redonkulus so I'm done with my changes on the context step. After context PR is merged, it would be cool to have a beta release so I can start tackling the example app and the generator.

@redonkulus
Copy link
Contributor Author

@pablopalacios [email protected] released under the next tag on npm.

@pablopalacios
Copy link
Contributor

@redonkulus could we bump fluxible-router on npm as well? It is currently not compatible with addons beta version.

@redonkulus
Copy link
Contributor Author

redonkulus commented Nov 11, 2020

@pablopalacios [email protected] released as well.

@pablopalacios
Copy link
Contributor

By the way, the Update to use the newer context API task is already done (#663 ) as well as the Update fluxible website docs (#668 ). Now I'm working on creating the new examples.

@redonkulus
Copy link
Contributor Author

Ok cool, I updated the check list

@pablopalacios
Copy link
Contributor

@redonkulus could we have new beta releases for fluxible-addons-react and fluxible-router?

@redonkulus
Copy link
Contributor Author

@pablopalacios both have been published

@pablopalacios
Copy link
Contributor

2 more items before removing the beta tag:

  • Improve packaging for fluxible-router to make it tree-shakeable and decrease bundle size
  • Simplify provideContext since I've found that we don't even need to pass a list of plugins to inject their component context.

@redonkulus
Copy link
Contributor Author

Ok I've added those to the list above. What changes for fluxible-router are you thinking?

@pablopalacios
Copy link
Contributor

Before removing the beta tag I would only improve packaging as did here: https://github.com/yahoo/fluxible/pull/683/commits

But later I would like to simplify tests and remove the dependency on addons-react components refs. They prevent us to convert addons-react components to functional components, which would allow us to decrease even further the package size.

However, since removing refs from addons-react would be a breaking change, maybe it would be better to do it right now as well. What do you think?

@redonkulus
Copy link
Contributor Author

redonkulus commented May 13, 2021

The best time to do it is now, before we remove the beta tag. Otherwise, we would need to do another breaking change release.

@pablopalacios
Copy link
Contributor

Right. And what should be done on the Update example app to use new APIs task? What is the example app?

@redonkulus
Copy link
Contributor Author

redonkulus commented May 13, 2021

I think I meant that to be plural, which you have done for the most part.

Would be good to convert the remaining examples too if you have time. Otherwise, we could just remove them. It was nice showcasing different usecases to users.

@pablopalacios
Copy link
Contributor

@redonkulus with #710 I'm done with all the changes I would like to do before removing the beta tag.

@redonkulus
Copy link
Contributor Author

Ok sounds good. Will review today.

@redonkulus
Copy link
Contributor Author

@pablopalacios one important task I've added to the bottom of the list is updating the fluxible.io site to use the new APIs, is that something you think you could help out on?

I know you did some work here but wasn't sure if there was any last cleanup to do.

@pablopalacios
Copy link
Contributor

I'll check it one more time. In theory, it should be working.

@pablopalacios
Copy link
Contributor

Done: #715

@pablopalacios
Copy link
Contributor

@redonkulus what is really missing on this one? Anything that I could do?

@redonkulus
Copy link
Contributor Author

So the 3 bullets that are open are what is left. If you think we are ready, we can merge the development branch into master and release all the packages without the beta flags. Then we will need to finish up the remaining tasks (updating the site to use latest and make sure migration guides are setup properly).

Last master has been rebased into the dev branch right?

@pablopalacios
Copy link
Contributor

Hmmm... I don't think so. But I thought a little bit more. It might be good to make a release of the old packages with deprecation warnings to make it easier to migrate to the newer versions. After that I think we can merge.

@redonkulus
Copy link
Contributor Author

I wouldn't do that as that will create a lot of noise for "stable" versions. Especially internally when we will probably never migrate to the new versions because resources are constrained and it would be a lot of work to refactor.

Can you do one last master rebase into the dev branch before we merge?

@redonkulus
Copy link
Contributor Author

@pablopalacios since all the packages have been released now, I'm going to close this out. Thanks again for all your hard work and making fluxible better for everyone!

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

2 participants