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

A templating solution ? #5

Open
lorefnon opened this issue Feb 4, 2015 · 2 comments
Open

A templating solution ? #5

lorefnon opened this issue Feb 4, 2015 · 2 comments

Comments

@lorefnon
Copy link

lorefnon commented Feb 4, 2015

I am curious if you would be interested in a templating solution as opposed to manually constructing the DOM using strings in the js, which is somewhat cumbersome.

I would be willing to contribute in this regard, but firstly wanted to discuss about about your opinion/preferences.

@alberthier
Copy link
Owner

Yes, this would definitively be an improvement.

I want to keep to possibility to craft parts of the UI "by hand" for performance intensive sections (log view, diff view), but I totaly agree that it would be really useful for other parts of the UI.

I already looked for some options and Handlebars catched my attention.
But I'm open to other propositions

@frantic
Copy link

frantic commented Feb 10, 2015

I would definitely recommend ReactJS. It has a couple of really important benefits, from which I would highlight high performance and ease of maintenance.

UI will be getting more and more complex over time, and React handles this really well. Basically it allows you to express your interface as a pure function of data, and when the data changes it will update DOM in most efficient way.

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

3 participants