hotosm / galaxy-ui

This is the frontend interface for the OSM Galaxy project built using React.
5 stars 3 forks source link

Evaluating frontend frameworks and libraries for setting up Galaxy UI #1

Open d-rita opened 2 years ago

d-rita commented 2 years ago

For the setup of the React app, the methods in consideration are: 1) building the React app from scratch, 2) using create-react-app 3) using another React app builder, like Next.js

For styling purposes, the frameworks/libraries in consideration are: 1) UI Kits, like Bootstrap 2) Utility-first CSS frameworks, like Tachyons, or Tailwind CSS

cc: @ramyaragupathy, @JorgeMartinezG, @omranlm

JorgeMartinezG commented 2 years ago

Also, something to evaluate is whether using typescript or raw javascript

d-rita commented 2 years ago

Setting up the React App Evaluation: [Draft] 1) Building the React app from scratch: This would take a while to set up. It would involve setting up all the configurations ourselves: development web server, automation scripts, transpiler and bundling, linting, testing and the project structure. It is time consuming to set up and one would need to know all that is needed to set it up.

2) using Facebook's dedicated app building tool, i.e create-react-app: Run a single command to have all the configurations set up for you. It provides a good developer experience. Does client-side rendering but is terrible at SEO. Also, code splitting is not a given.

3) using another React app builder, like Next.js: Open-source, does server side rendering, is good for code splitting and SEO, but it will take a long time to load if the app is heavy

d-rita commented 2 years ago

For styling purposes, the frameworks/libraries in consideration are: [Draft] 1) UI Kits, like Bootstrap:

2) Utility-first CSS frameworks, like Tailwind CSS and Tachyons:

d-rita commented 2 years ago

Tools/Frameworks used:

ramyaragupathy commented 2 years ago

We have the boiler plate setup. @d-rita please add any additional comments and close

ramyaragupathy commented 2 years ago

@d-rita what are the next actions that you see here?