Skip to content
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

Bunch of fixes for attributes with SSR #115

Merged
merged 5 commits into from
Mar 16, 2018
Merged

Bunch of fixes for attributes with SSR #115

merged 5 commits into from
Mar 16, 2018

Conversation

goto-bus-stop
Copy link
Member

These work in newer pelo versions so I'll probably just copy it

@goto-bus-stop goto-bus-stop changed the title Add failing attribute tests for SSR Bunch of fixes for attributes with SSR Mar 14, 2018
@goto-bus-stop
Copy link
Member Author

goto-bus-stop commented Mar 14, 2018

Going to try to tackle whitespace as well.

e; on second thought, that seems really tricky lol.

lib/server.js Outdated
var handled = handleValue(value[key])
return key + '="' + handled + '"'
}).filter(Boolean).join(' ')
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replacing this block with a .reduce call into a string should be slightly faster.

@goto-bus-stop goto-bus-stop merged commit 50d6f09 into master Mar 16, 2018
@goto-bus-stop goto-bus-stop deleted the server-tests branch March 16, 2018 09:30
@release-notifier
Copy link

This PR landed in v1.2.1: 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants