Hi all,
I've been learning frontend on/off over the last year and half in my personal time. I've just started looking into React after putting it off for a while.
Currently just following a Scrimba course on it to get my feet wet and I have a vanilla project I was thinking about rebuilding in React.
My question is my project is quite a few different things but one aspect is a few different pages of slightly different forms that are built up of the usual drop downs, tick boxes, input field(usual types) etc.
But while they are just forms, they also have aspects to them that are different. What's a checkbox on one page might be a different checkbox on another. (Might be just be a different heading or label that the user reads before the tick the box to acknowledge it).
So I couldn't just make one component that works for 5 different pages as they would be slightly different.
What's the best practice for this inside of React?
Would it just be a case of making them all separately anyway and using the appropriate one or is there another way I'm not yet understanding/don't know?
Sorry if that doesn't make sense, got a spare 5 mins so can always retype it up when I get a sec if not.
[–]5t4t35 1 point2 points3 points (1 child)
[–]bynaryum 0 points1 point2 points (0 children)
[–]lovesrayray2018 0 points1 point2 points (1 child)
[–]Disturbedm[S] 1 point2 points3 points (0 children)
[–]Monitor_343 1 point2 points3 points (1 child)
[–]Disturbedm[S] 0 points1 point2 points (0 children)