fdnd-agency / voorhoede

MIT License
0 stars 1 forks source link

Afspraken & Code Conventies #3

Open Jason2426 opened 2 weeks ago

Jason2426 commented 2 weeks ago

Code conventies

Best practices

Afspraken

Branches

Voor branches gebruiken we kebab-case

feature of fix / component-naam

Voorbeeld : Feature/navbar-layout of Fix/Reduce-spacing

Jason2426 commented 4 days ago

Waarvoor componenten handig zijn :

Even if it doesn't seem like many lines, using a component with named slots offers significant benefits:

Scalability: As your project grows, reusing components becomes more valuable, saving time and effort. Consistency: Ensures uniform styling and behavior across all links, reducing the chance of errors. Ease of Updates: Changes to the link style or structure require updating only the component, not every individual link. Cleaner Code: Keeps your codebase organized and easier to read by abstracting repetitive code.