Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
I'm running a few Blazor WASM applications with static prerendering with react-snap. An example is this test page here: https://pages2.nielsen.tech/
Notice it loads instantly due to the prerender, and then silently loads the wasm app. This worked until I updated Blazor and I started getting errors like the following:
It looks like mudElementRef is null, likely because react-snap is running headless. The result is a runtime error that causes the Github Action to fail.
Bug type
Other
Component name
No response
What happened?
I'm running a few Blazor WASM applications with static prerendering with react-snap. An example is this test page here: https://pages2.nielsen.tech/
Notice it loads instantly due to the prerender, and then silently loads the wasm app. This worked until I updated Blazor and I started getting errors like the following:
It looks like
mudElementRef
is null, likely because react-snap is running headless. The result is a runtime error that causes the Github Action to fail.The latest version that works is 5.0.15.
Expected behavior
The app should prerender without errors.
Reproduction link
https://github.com/Mr-Technician/TimeKeeper
Reproduction steps
This is difficult to reproduce as it requires react-snap.
This is the line in question in my Github Actions yaml: https://github.com/Mr-Technician/TimeKeeper/blob/38ce49094ff7611bcd25f914623341610fec9967/.github/workflows/main.yml#L30
I am willing to walk someone through the process to get to the bottom of this.
Relevant log output
No response
Version (bug)
5.1.x, 5.2x, 6.0x
Version (working)
5.0.15
What browsers are you seeing the problem on?
Other
On what operating system are you experiencing the issue?
Other
Pull Request
Code of Conduct