Design tips needed #1628
-
I have a UI to build json, which includes different type of states. In my code, my main component is a state container and each state according to its type. There is one special type of state, it can create sub-states(same as all other types of state). What is a good way to implement this state(possibly not to create too much duplicated codes)? This state itself is like a state container, but have different logic to handle actions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thanks for creating this discussion, @ycaoT! We'll review before Office Hours today. Adding the link to your sample app here for reference: https://code.hq.twilio.com/pages/sec-eng/socless-web/ |
Beta Was this translation helpful? Give feedback.
-
Recording for this office hours session: https://www.loom.com/share/3006beed70e34f879d380ae1fd9ba4ea Password can be found in Slack. Thanks for coming! |
Beta Was this translation helpful? Give feedback.
Recording for this office hours session: https://www.loom.com/share/3006beed70e34f879d380ae1fd9ba4ea
Password can be found in Slack. Thanks for coming!