Some feedback to migration guide. #1796
ScarletKuro
started this conversation in
General
Replies: 2 comments 6 replies
-
|
Hey - good input.FYI: The The rest I will update for sure! Thanks for that! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@ScarletKuro Making many of the methods internal was intentional. Is there any concrete use case where you need More general: Is there anything you can't migrate? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I hope it’s okay to share some feedback.
It looks like the migration guide at
https://github.com/bUnit-dev/bUnit/blob/main/MIGRATION.md may be missing a few items or could use some clarification:
The
ToMarkupandToHtmlextension methods (forIEnumerable<INode>) appear to be removed. For example, MudBlazor was relying on these..Refresh()has been removed. I understand that the removal ofIRefreshableElementCollectionis mentioned, but when usingvar xyz = Find(...), this change is not very obvious.Please consider changing the wording:
It took me a bit of time to realize that the only required change was charging from
DisposeComponentstoDisposeComponentsAsync.ComponentParameterFactoryhas been removed -> parameters should be set usingRendermethod.ComponentParameteralso appears to be gone (internal), but it was used by MudBlazor as well.The guide at https://bunit.dev/docs/migrations/1to2.html seems to be out of sync with the migration guide in the repository. The bunit.dev was the first thing I checked, so the inconsistency was a bit confusing.
Beta Was this translation helpful? Give feedback.
All reactions