Unified UI kit and design synchronization at Uchi.ru. Part 1

Perhaps everyone who has dealt with the development of a site collection faced the problem of maintaining a single look of components. When the number of services goes to tens and hundreds, when more and more independent teams are working on them, desynchronization in design and code appears necessarily. We tried to cope with this using a single component base. In a series of posts, I will talk about our experience in developing a UI kit that is convenient for both developers and designers, suitable for different frameworks and not overloading services. In the first part, under the cut, I tell you how we chose the frameworks.





, , . . , .





, , . , . . , , , . β€” - .





. , , , , , , -. UI-. 





,

UI-, , , . , , , Figma β€” , -. , (color-primary



) , .





UI- . β€” .





UI- - Stencil, Figma. , , .





, . , . , .





, . , (React). - . , UI-. 





- . , WebComponents.dev, , . -3: lit-element + lit-html Stencil, Hybrids β€” . β€” 2020 β€” :









/





lit-element + lit-html





Stencil





Hybrids





JavaScript ES3+





+





+ ( )





+





JavaScript ES6+





+





+





-





TypeScript





+





+





+





JSX





+





+





+





React





-





+ ( )





-





Vue





-





+ ( )





-









+





+





+





IE11





+





+ ( )





-









+





+





+





/





-





+





-





CSR





+





+





+





SSR





+ ( . )





+





-





CSS





-





+





-









+





+





+









+





+





+





React/Vue?

Β«β€Ž ReactΒ» Β«β€Ž VueΒ» . , - React Vue .





, lit-element + lit-html Stencil . , , CSS , . Stencil.





, .





β€” . , , β€” .





, , React, Vue. , React 2,5 , β€” 5 . , Stencil . , , . URL β€” , Stencil 3 . , , . 





Figma

- Figma β€” β€” . , , . β€” , . , , - .





, . , , , .





, . , . , , , ? , , .





.





, . - (RC), ( - ), , , . 





UI- Storybook. . , «» - , , . , , , . UI-.





, . . , .






, UI-. , ? ? - UI- ? .








All Articles