mithi / epic-react-exercises

Practical React exercises with detailed solutions.
https://epic-react-exercises.vercel.app
Apache License 2.0
159 stars 37 forks source link

Add demonstration app, use modal for menus, each page has two sections now, not three #22

Closed mithi closed 3 years ago

mithi commented 3 years ago

Be able to lazily load an demonstration app as part of the page

❗❗❗❗ I'm using dynamics import, I have to recheck if this is the best way to do this.

Use modal for theme menu and react menu

I'm always breaking the css of "themeMenu" and "ReactMenu", so I decided to use a modal package wrapping them, hopefully this solved everything and I won't be scared to break the css again. ❗❗❗❗ I have to reexamine this to verify is I'm indeed using it the right way.

Instead of a page with three sections, pages should have just two sections

Originally I planned to have three sections per page ("notes", "code" and "app"), notes are where the notes are, "app" where the sample component illustrates the concept being discussed, and "code" which contain the code of the "app.

But it was too cluttered to I decided that there would be only two sections, "notes" and "app" the code will just be written on the "notes" section if needed.

Remove unused code