nars-dev / nars

Server rendered React Native
https://www.nars.dev/
86 stars 2 forks source link

Dashboard #17

Open czystyl opened 5 years ago

czystyl commented 5 years ago

The dashboard runs 6 commands from all of the directories and shows the output.

~We need to define the commands that are running in the watch mode to get the real benefit of this dashboard.~

image

close #10

wokalski commented 5 years ago

this is fucking awesomee

czystyl commented 5 years ago

Added some options:

You can check it by running yarn dashboard {type}

full core examples
image image image
wokalski commented 5 years ago

I can't run the dashboard from the root dir. I'd ideally run "yarn dashboard type"from the root directory of the project.

The React.js code looks great. I don't want to nitpick but I was wondering whether hooks + functions could be used here? I was also worndegin if TypeScript would be an option here?

czystyl commented 5 years ago

I try the hook/function component approach, but there the spawn wasn't worked as expected. But now we have the all of the needed bit, so I can come back and refactor it.

I'll go and try what you propose and let's see 🚀