NUDelta / ce-platform

4 stars 3 forks source link

Use a front end framework that supports template components #123

Open youralien opened 4 years ago

youralien commented 4 years ago

Especially since many OCEs (Half Half, Cheers Three, Monster) are using the split photo interface, it might be really beneficial to use template library that has components.

We should try https://github.com/peerlibrary/meteor-blaze-components since we are already using blaze! But I saw that there is potential rendering performance downsides to it's approach on rendering time. We don't have too complex templates for a mobile app (as compared to a desktop app with many nested components), so this might be fine.

Converting to React is possible, and is supposedly faster. And it's even possible to convert bits of the app too, without having to fully transition. So that could be exciting! https://www.reddit.com/r/Meteor/comments/43fi78/how_easy_is_it_converting_from_blaze_to_react/

youralien commented 4 years ago

We can also use Blaze, and use conventions that make parts of the components more reusable. I think this is great way to go! Lots of good tips here: http://blazejs.org/guide/reusable-components.html#Attach-functions-to-the-instance