-
Notifications
You must be signed in to change notification settings - Fork 959
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
Refactor with React #853
Comments
I'll be helping starting tomorrow 😊 |
Hi! I'been looking for a roadmap for using react, my thoughts are:
Then it comes the react part, where i can't find any order on applying changes:
Then maybe we could switch from cordova to React native :) What do you think about this? Greetings, Brian |
Agreed with the redux part. |
@corradio, I'm doing a refractor of the main, the first step you said, decoupling and modularizating the application. The Branch is here I'm making two files that contains the state for the application, see global and maps variable files, i didn't apply redux because it would mean we change d3 events to redux action -> dispatcher -> observer method, when the first goal is to order the files. Im now ordering the UI, trying to decouple ui logic from non ui modules. When it's finished i will PR, Greetings, Brian |
That is terrific! Keep up the good work and as soon as you have a PR ready I'll have one iteration on top. |
@BrianCraig how is it going? Refactoring is tricky so we should probably try to do chunks by chunks in order to avoid those nasty merges because the master keeps going forward. |
@corradio @BrianCraig if you guys need any help on this, I'd be happy to help out. |
It's been on pause atm. I'm trying to avoid too big a refactor but if you
can make something simple work without too much refactor so we can
introduce react slowly, that'd be a huge step!
…On Feb 8, 2018 00:43, "grady-lad" ***@***.***> wrote:
@corradio <https://github.com/corradio> @BrianCraig
<https://github.com/briancraig> if you guys need any help on this, I'd be
happy to help out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/tmrowco/electricitymap/issues/853#issuecomment-363950690>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABlEKP4Z52NQJrQa6vnj3kNN5gpen4Lzks5tSjUYgaJpZM4Qel89>
.
|
@grady-lad if you're keen to help, can you ping me on Slack? I think refactoring the main.js is already a good task forward - then we can add React later on. |
We should start adding React and slowly convert our code to components in order to make the style and frontend updates easier!
The text was updated successfully, but these errors were encountered: