-
Notifications
You must be signed in to change notification settings - Fork 1
Talk
Robert Willemelis edited this page Apr 13, 2018
·
3 revisions
- who am I (STRATO, ngGirls, love angular, still learning)
- found a lot sample for reactive forms about basic concepts
- love idea of reusability
- but how to create reusable components with reactive forms?
- searched for an open source sampel of a reactive form with reusable components, which are test driven
- forms are easy? problem is finetunig of validation and customizing to project/company goals
- customized layout
- finetuned validation
- one error-field component
- full test driven
- also without selenium
- reusable components
- dynamic model
- accessable for colleagues
- using components from outside of root component => custom html-tags
- sharing model state for reusable components
- creating usable and readable tests
- reduce efford for creating new components
- finetuning validation
- bundle size
- test, travis
- todo: https://www.youtube.com/watch?v=o1X5ZzFj4JE&t=0s&index=8&list=PLFMi8sXIcHF_6p2zwttrXmDBU6ZDhPA0F
- FormControl - tracks value and validation statut of individual form control
- formGroup - tracks value and validity state of a group of FormControl instances
# Title
Test driven Reactive Forms with reusable components in action - sample at/for STRATO
# Duration:
15-30min
# Target Group
Developer, Interests
# Abstract
Angular is a framework which enables cross-platform development with the goal of scalability of enterprise application, supported by a rich platform of tooling for teams.
But how is the journey to get out of all these "Hello World" samples into real production?
In this talk I want to focus on an open source project for a basic reactive contact form, which could be used in production. This means a test driven approach (also usable without e2e-Tests and Selenium) with reusable components and a fine-tuned tested validation. I also want to share my learnings.
# Language
English