JS-OS
JS-OS copied to clipboard
Migrate react classes to use the latest hooks
Either migrating one class at a time(All the essential window wrappers and then the pre installed applications) or Migrating it all at once, Whichever method works fine.
Hi, I would like to work on this issue. Could you please assign it to me?
Hey @abhinav5481 , Good luck. Ping me if you need any help.
I would like to work on this. Just one doubt: Do I need to change every file with class components to hooks or some specific files only?
Hello @shmiitg , Thank you for your interest in this - we have to migrate every class from classes to hooks but we could do it one by one. Starting from non impacted defaultapps like say minesweeper etc
Ok sir, I got it. I will start working on this. You can assign me this issue.
Sir i have changed the following files: calender.js codestudio.js menubar.js minesweeper markdown_editor.js markdown_reader.js pdf.js processmanager.js
I am sending a pr, if you dont find any mistakes you can merge it, I will slowly and gradually change all the files.