Skip to content

Commit fe01bfc

Browse files
committed
done with setup
1 parent 9dc5979 commit fe01bfc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/setting-up-advanced-forms.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ framework: react
99
chapter: Make A Booking Mutation
1010
---
1111

12-
Genereally there comes a time when you've got do things in an advanced way in order to write maintainable code that won't compromise the developer experince. Customer experince tends to be loosely coupled to the developer experince. If things are a pain to maintain, the hard it will be to deliver value to your customers.
12+
Genereally there comes a time when you've got do things in an advanced way in order to write maintainable code that won't compromise the developer experince. Customer experince tends to be loosely coupled to the developer experince. If things are a pain to maintain, the harder it will be to deliver value to your customers.
1313

1414
So the way the mutation needs to be executed is in a multistep form that needs to be in separte components. The key driver for this is so that the user does not need to do everything on one page. This would be a poor user experince. Also you need to maintain a file that would easliy be 400+ lines of code.
1515

1616
Our approach will be the following:
1717

18-
\* use [Ant design's](https://ant.design/) tabs and target the CSS classes to hide the controls
18+
☎️ Use [Ant design's](https://ant.design/) tabs and target the CSS classes to hide the controls
1919

20-
\* Use [Apollo client's](https://www.apollographql.com/docs/react/v2.6/data/local-state/) Cache as a central state store to persist the data between the components and use it to trigger our mutation in the penulatmate mutation.
20+
☎️ Use [Apollo client's](https://www.apollographql.com/docs/react/v2.6/data/local-state/) Cache as a central state store to persist the data between the components and use it to trigger our mutation in the penulatmate mutation.

0 commit comments

Comments
 (0)