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

build: release v0.1.0-alpha.8 #211

Merged
merged 4 commits into from
Feb 3, 2023
Merged

build: release v0.1.0-alpha.8 #211

merged 4 commits into from
Feb 3, 2023

Conversation

karrui
Copy link
Collaborator

@karrui karrui commented Feb 3, 2023

What's Changed

Full Changelog: v0.1.0-alpha.7...v0.1.0-alpha.8

mantariksh and others added 4 commits January 31, 2023 15:08
chore: merge v0.1.0-alpha.7 release back to main
* feat: add ssr, link.isExternalFn props to useMdComponent hook

When useMdComponent is used in an SSR environment, a hydration mismatch will occur due to the use of window.location when rendering links.

This commit adds the `ssr` prop for use in SSR environment to prevent a hydration mismatch. However, external icons will no longer render and there is a need to use the `link.isExternalFn` fn to calculate external-ness in an ssr environment.

* feat: add ssr prop to components that use useMdComponents hooki

* feat: add `mdIsExternalLinkFn` prop to md components
@karrui karrui merged commit e108d85 into alpha Feb 3, 2023
@karrui karrui deleted the v0.1.0-alpha.8 branch February 3, 2023 07:49
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