cboard-org / cboard

Augmentative and Alternative Communication (AAC) system with text-to-speech for the browser
https://www.cboard.io
GNU General Public License v3.0
657 stars 171 forks source link

Update context provider components #902

Open wilitp opened 3 years ago

wilitp commented 3 years ago

Change context provider class components for functional components.

I could work on this!

martinbedouret commented 3 years ago

looping @shayc here. @wilitp what should be the advantage of using functional components for context providers?

wilitp commented 3 years ago

More up to date usage of the API and possibly leaner code. Also ease for future newcomers, that may be more familiar with function based components, to contribute.