-
Notifications
You must be signed in to change notification settings - Fork 49
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
fix whitespace creation #74
Conversation
f3dc5f6
to
27312af
Compare
Ok, so right now things are not solved. The current state is:
What I'm thinking we should do:
We should get a 10x server render improvement in the process, but also do a semver major release. With that happening we could get cheeky and also add #69. I have a feeling this is a fair amount of changes, so input would be greatly appreciated! Thanks heaps! IRC dump02:55 <yoshuawuyts> URGH
02:55 <yoshuawuyts> ok, so I got this whole mad thing working in the browser - fixed the regression
02:55 <yoshuawuyts> (talking about `bel`)
02:55 <yoshuawuyts> but now the server is failing
02:56 <yoshuawuyts> and worse: it's failing because of a pre-existing bug in `bel` - e.g. min-document is an incomplete DOM implementation, and stuff like .nodeValue and .lastChild does not exist
02:57 <yoshuawuyts> so either: 1) we do a revert and pretend nothing changed. This will disallow child-node reordering tho. Or 2) we merge and break server rendering
02:57 <yoshuawuyts> I'm not thrilled about either option
02:59 <yoshuawuyts> well, technically we're not breaking server rendering - it's already broken - it just makes it, err, well more apparent
03:00 <yoshuawuyts> could be a cool opportunity to complete move to https://github.com/shuhei/pelo btw
03:00 <yoshuawuyts> option 3?
03:00 <yoshuawuyts> (anyone got thoughts on this?)
03:05 <sethvincent> would it be worth working on min-document or an alternative?
03:07 <yoshuawuyts> sethvincent: pelo uses string concatenation which provides a 20x speed improvement over object based approaches. I think if we're going to change anything specifically for server stuff that'd be the clearest path
03:07 <sethvincent> hmm, that makes sense |
woot, it works! |
Ok, so we're now running Semver major because the intermediate representation on the server also changed. Thanks! |
That little whitspace fix got out of hand, right? 😆 |
|
This should fix #72
patch notes