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

fix: fix warning with legacy styles in SSR #2140

Merged
merged 8 commits into from
Feb 4, 2021

Conversation

wildergd
Copy link
Collaborator

@wildergd wildergd commented Jan 31, 2021

#1471

Changes proposed in this PR:

  • fix legacy styles string escaping in SSR

NOTE:
this will remove warning described in this comment https://github.com/nexxtway/react-rainbow/issues/1471#issuecomment-765706675. However a new Warning will appear Warning: Expected server HTML to contain a matching <style> in <div>. it is a common warning and research indicates that is not a real problem. So, it can be ignored.

@nexxtway/react-rainbow

@commit-lint
Copy link

commit-lint bot commented Jan 31, 2021

Bug Fixes

Contributors

wildergd, LeandroTorresSicilia

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@github-actions
Copy link

github-actions bot commented Jan 31, 2021

Visit the preview URL for this PR (updated for commit 6f4ea9d):

https://react-rainbow--pr2140-fix-legacy-styles-a1jxij2h.web.app

(expires Thu, 11 Feb 2021 15:30:45 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@wildergd wildergd closed this Feb 2, 2021
@wildergd wildergd reopened this Feb 2, 2021
@codeclimate
Copy link

codeclimate bot commented Feb 3, 2021

Code Climate has analyzed commit 96a0cb6 and detected 0 issues on this pull request.

View more on Code Climate.

@LeandroTorresSicilia LeandroTorresSicilia merged commit 9109bf7 into master Feb 4, 2021
@LeandroTorresSicilia LeandroTorresSicilia deleted the fix-legacy-styles branch February 4, 2021 15:27
jpetaux pushed a commit to jpetaux/react-rainbow that referenced this pull request Jun 27, 2021
* fix: fix warning with legacy styles in SSR

* fix: lint issues

* fix: issues in comments

* fix: lint issues

Co-authored-by: Jose Leandro Torres <[email protected]>
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.

2 participants