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

updated react support #2

Merged
merged 1 commit into from Nov 23, 2017

Conversation

ohadlevy
Copy link

@ohadlevy ohadlevy commented Nov 6, 2017

  • updated to react 16.
  • created a component mounting helper to initalize react componenets
    from rails views
  • create a component registery, so that plugins can register their
    top level containers
  • broke down generate webpack chunks into plugin specific vs common
    js code (to avoid duplications of js code within the bundle)
  • change webpack source maps to inline so it can easily be used to
    debug in the browser. (see Source Maps don't work on Chrome webpack/webpack#2145)
  • updated webpack configuration so it can read from a package.json
    defined on a plugin

TODO: add missing tests (I need jest support first in order to include them).

* updated to react 16.
* created a component mounting helper to initalize react componenets
from rails views
* create a component registery, so that plugins can register their
top level containers
* broke down generate webpack chunks into plugin specific vs common
js code (to avoid duplications of js code within the bundle)
* change webpack source maps to inline so it can easily be used to
debug in the browser. (see webpack/webpack#2145)
* updated webpack configuration so it can read from a package.json
defined on a plugin
@ohadlevy
Copy link
Author

ohadlevy commented Nov 6, 2017

@martinpovolny in order to test this PR, you would need to use https://github.com/ohadlevy/miq_experimental_ui_plugin

@ohadlevy
Copy link
Author

@martinpovolny would you prefer I'll open a new PR against core? thanks

@martinpovolny martinpovolny merged commit 1624cba into martinpovolny:add_react_deps Nov 23, 2017
@ohadlevy ohadlevy deleted the add_react_deps branch November 23, 2017 08:06
@martinpovolny
Copy link
Owner

@ohadlevy : yes, please open a new PR against manageiq-ui-classic

We are close to getting the release out of the door, let's restart the work on this. Thx!

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