Open Vigasaurus opened 5 years ago
ya this is embarrassing 😑
Oh I forgot to attach this - just for reference. JSX/Files Created by us that have it:
All Files that have it:
Also, this can get assigned to me - all the JSX changes should be pretty fast (very similar to the changes made in Creategame.jsx)
So I'm sure you know this but its not just as simple as taking out legacy semantic and replacing with their react components - there's several instances of (horrible I know) directly reading the dom for values. Why I did that way back when I have no idea. Mostly in Creategame
I would guess.
Also you will/should need to edit some of the .pug
s to remove the hard coded html for the modals.
I noticed. Every instance of jQuery in Creategame.jsx is already gone with #1291
I think the easiest way to do this tbh will be to just go and drop in Semantic-ui-react
and start replacing, as opposed to leaving that for later - but 🤷♂️ we'll see how it goes
And actually I'll hold off on this until you can confirm that you want all jQuery and Semantic handled how it was handled in #1291
First will come the death of jQuery in all JSX files. Later will come a full refactor to remove jQuery as a dependency of Semantic-UI, by using the better Semantic - React.