Skip to content

Commit

Permalink
Revert some commits about SSR and refactor for adapting SSR (#1682)
Browse files Browse the repository at this point in the history
* 🚧 feat: wip

* 🚧 feat: wip

* β™» refactor: refactor the dispose func of JSModule

* β™» refactor: refactor the dispose func of JSObjectReferenceProxy

* rename

* πŸ†• feat: Add MInteractiveTrigger(s) and MInteractivePopup components

* improve SSR configure

* 🚧 feat: wip

* β™» refactor(NextTickComponentBase): Use IAsyncDisposable instead of IDisposable

* remove ssr script

* Update SsrThemeProvider

* update

* update docs css

* update sln

* 🚧 feat: wip

* add notification and state

* update ssrplayground

* udpate

* update
  • Loading branch information
capdiem authored Dec 18, 2023
1 parent d616418 commit c218ce4
Show file tree
Hide file tree
Showing 93 changed files with 1,930 additions and 562 deletions.
7 changes: 7 additions & 0 deletions Masa.Blazor.sln
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.Docs.ComponentA
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.Playground", "src\Masa.Blazor.Playground\Masa.Blazor.Playground.csproj", "{07665478-645F-4E5D-A8E6-8AF711D4FA89}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Masa.Blazor.SsrPlayground", "src\Masa.Blazor.SsrPlayground\Masa.Blazor.SsrPlayground.csproj", "{94D1F512-145B-44D2-ACEC-D79904D43FD6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -172,6 +174,10 @@ Global
{07665478-645F-4E5D-A8E6-8AF711D4FA89}.Debug|Any CPU.Build.0 = Debug|Any CPU
{07665478-645F-4E5D-A8E6-8AF711D4FA89}.Release|Any CPU.ActiveCfg = Release|Any CPU
{07665478-645F-4E5D-A8E6-8AF711D4FA89}.Release|Any CPU.Build.0 = Release|Any CPU
{94D1F512-145B-44D2-ACEC-D79904D43FD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{94D1F512-145B-44D2-ACEC-D79904D43FD6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{94D1F512-145B-44D2-ACEC-D79904D43FD6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{94D1F512-145B-44D2-ACEC-D79904D43FD6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -200,6 +206,7 @@ Global
{E9278A51-B3F1-4DE6-870A-C3F7CCDCE851} = {316905B8-A702-4A0A-970A-6A663DEC29F6}
{E3FB7E73-F0BD-4C17-8C95-B12925D4F186} = {54AFCA2A-8CF8-4FDE-8DF5-53C42053A611}
{07665478-645F-4E5D-A8E6-8AF711D4FA89} = {00B4BEE6-3D40-4E40-8B23-D238DCE75F36}
{94D1F512-145B-44D2-ACEC-D79904D43FD6} = {00B4BEE6-3D40-4E40-8B23-D238DCE75F36}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9F25C776-A200-4DEB-8F8B-9D1FA2CDC740}
Expand Down
5 changes: 2 additions & 3 deletions docs/Masa.Blazor.Docs/Components/Examples/Example.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,9 @@ private static List<RazorExtension> GetRazorExtension()
.Cast<RazorExtension>().ToList();
}

protected override void Dispose(bool disposing)
protected override ValueTask DisposeAsync(bool disposing)
{
_objRef?.Dispose();

base.Dispose(disposing);
return base.DisposeAsync(disposing);
}
}
Loading

0 comments on commit c218ce4

Please sign in to comment.