Adel Benyahia
Nov 13, 2023

--

Excellent 👌, thanks
- I love the use of <Dialog> tag
- You can you the CSS pseudo element ::backdrop to style the back of the dialog.
::backdrop {
background-image: linear-gradient(
45deg,
magenta,
rebeccapurple,
dodgerblue,
green
);

- You can replace useState and use Context by useParams, with that you can save the state of the dialog in the URL params of the webpage, and you can render the component Server side (SSR).

--

--

Adel Benyahia

Web application developer (HTML │ CSS │ JS | ReactJS | NextJS | NestJS | MERN)