This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MainPage : Component | |
{ | |
protected override void OnMounted() | |
{ | |
var store = Services.GetRequiredService<IStore>(); | |
store.InitializeAsync().Wait(); | |
var state = Services.GetRequiredService<IState<CounterState>>(); | |
state.StateChanged += State_StateChanged; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
using System; | |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace ListChangesPerfTest | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Id | Title | Content | Claps | |
---|---|---|---|---|
799f1577-2e5b-49cd-9b05-4648415ea5f7 | My new Post | Amazing post with wornderful images and code! | 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Id | Title | Content | Claps | |
---|---|---|---|---|
799f1577-2e5b-49cd-9b05-4648415ea5f7 | My new Post | Amazing post! | 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Changes": [ | |
{ | |
"Operation" : "I", | |
"Id" : "799f1577-2e5b-49cd-9b05-4648415ea5f7", | |
"Title" : "My new Post", | |
"Content" : "Amazing post!", | |
"Claps" : 0 | |
}] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
799f1577-2e5b-49cd-9b05-4648415ea5f7 | My new Post | Amazing post! | 0 |
---|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Id | Title | Content | Claps |
---|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |