-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from Gargron/fix-useless-rerenders
Remove function binds in render wherever possible, use PureComponent
- Loading branch information
Showing
6 changed files
with
76 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bbd4fbe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dunno what went wrong, but storybook in current master as of this commit is broken. It's complaining about trying to assign to non-object string("kappa"), wherever that came from. I tried nuking my repository to make sure it's not my cache, but that didn't help.
Also, I think because storybook loads components from dist instead of src now live reloading no longer works, which is unfortunate because it means you can't do development with storybook anymore.
bbd4fbe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmmh 🤔, Storybook is still working on my end. Maybe it’s something in
localStorage
?I personally have 2 processes while developing. One for dist (
yarn start
) and one for storybook (yarn storybook
), live reloading works that way 😄bbd4fbe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you might be right. That would align with me having tested with "kappa" custom emoji in the past. But damn, that's annoying. If we're talking feature requests, it'd be nice to plug my own store backend instead of using localStorage and only being able to customize the namespace. For example, if I could do that, I could save frequently used emojis for the user account and not just the open browser