DFE-Digital / polis-whitelabel

:milky_way: Open Source AI for large scale open ended feedback
https://pol.is
GNU Affero General Public License v3.0
3 stars 0 forks source link

Migrate front-end code to React #62

Open brendanarnold opened 1 year ago

brendanarnold commented 1 year ago

The front-end of pol.is is written in a few different frameworks and ways - these include React (legacy version), Handlebars, Backbone and Inline Javascript/jQuery. Cleaning these up and taking a component-based approach will enable much more rapid feature development on the front-end as well as being able to remove some legacy libraries that are no longer actively maintained.

Abhishek7Tech commented 1 year ago

@brendanarnold Hi I would like to contribute. Which version of react is currently used in polis?

brendanarnold commented 1 year ago

@brendanarnold Hi I would like to contribute. Which version of react is currently used in polis?

Hey @Abhishek7Tech the front-end parts of pol.is are the client-participation, client-admin and client-report directories - the package.json files will have the exacts versions in them, it looks like a mix of v15 and v16.

Abhishek7Tech commented 1 year ago

@brendanarnold Thanks for replying. Should I use- functional components or class based approach?