Upgraded WASM demo to latest 3.2.0 Preview 1 #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was looking at building a personal site using the latest preview version of client-side Blazor and decided I wanted to add some animations. Lucky me, this project exists!
I went to test out the library with the upgraded references to client-side Blazor and discovered that I needed to refactor some of the startup code in order for it to run properly. There is no Startup.cs file anymore, and service registration for dependency injection is now handled inside of Program.Main().
Those changes are included here.
Feel free to incorporate or ignore, but I figured I'd throw this in here in case anyone else was wondering how to get it working properly. The Blazor.Animate library requires at least one IOptionsSnapshot registered as an injectable service, so I copied the two used in the server-side sample over to the client-side sample and formatted them correctly.