-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor the root Pattern Lab build into a proper class #742
Conversation
…f an end-to-end async build process
…patternlab state object
…te, since they're still very much invoked from outside. Maybe that's okay.
pardon the commit to this - all the 💯 goes to @geoffp on this! |
I'm way out of my depths here, but it looks like fascinating and nitty-gritty work. Thanks @geoffp! |
Thanks fellas! It is pretty abstract work, but damn if I don’t enjoy a good refactoring. |
@geoffp ha! You sound like me refactoring the frontend code. I'm one of those weirdos that likes spring cleaning and organization and stuff. ¯_(ツ)_/¯ |
@bradfrost hey, I know the feeling. It’s nice to take up something kinda messy and leave behind something beautiful, whether it’s visual or in code. |
Addresses #572
Summary of changes:
I've begun the process of refactoring the loosely organized build step into a real class with a real constructor. The goal here is to make to whole process more comprehensible ahead of the async work, which would be difficult to reason about and debug without it.
I plan to continue this work in small, careful steps.
If you merge, please leave the branch and I'll just keep jamming on it as time allows. Async rendering or bust.