Translating PatternLab patterns into React components
As discussed with Chris & David from eLife at the PubSweet global meet in London, I've taken a look at automatically converting eLife's PatternLab patterns in to React comopnents.
Here is my initial attempt: https://gitlab.coko.foundation/jure/react-patterns
And an initial roadmap/todo list:
-
Try one read-only pattern, Content Header -
Try one input pattern, like an OK button or a input field -
Automatically generate all patterns as React components -
Automatically build a styleguideist styleguide with them -
Explore workflow with parallel development of React components and patterns