Steve Sanderson
fa2b61773a
In ComponentState, track parent ComponentState. Be explicit that Renderer only lets you attach root components.
2018-10-12 09:49:28 +01:00
Ryan Nowak
9778b2054a
Add blazor.server.js ( #1116 )
...
Adds a server-side flavored blazor script.
2018-07-13 18:01:05 -07:00
Steve Sanderson
4868cdbfa3
Change BrowserRendererRegistry not to be static, and to scope the BrowserRenderer IDs to each instance
...
This is to ensure that, in multiuser scenarios, users can't interfere with each other by posting events for somebody else's renderer ID.
TODO: Still need to wire up or replace the temporary static BrowserRendererRegistry.CurrentUserInstance property to provide per-user storage.
2018-07-10 09:56:00 +01:00
Steve Sanderson
b275055835
JavaScript interop v3 ( #1033 )
...
* JavaScript interop via new IJSRuntime abstraction
* CR feedback
2018-06-25 15:14:42 +01:00
Steve Sanderson
4427b3b773
Add more struct readonlyness hints
2018-06-06 11:49:55 +01:00
Steve Sanderson
bd2c8a09ef
Improve JS-side event handling code. Fixes #433
2018-04-10 18:15:22 +01:00
Steve Sanderson
f684203721
Rename DefaultBrowserServiceProvider->BrowserServiceProvider for consistency
2018-02-23 10:50:35 +00:00
Steve Sanderson
ce10e6fa19
In preparation for DI, give every Renderer an IServiceProvider
2018-02-23 09:32:26 +00:00
Steve Sanderson
70a3ee3d98
Remove externally-callable Renderer.RenderInNewBatch() now that rendering is triggered by components themselves
2018-02-13 17:06:00 +00:00
Steve Sanderson
e37e22aa27
Further renderer refactoring
2018-02-10 10:55:44 +00:00
Steve Sanderson
b8ed7bc2c5
Track event handlers via explicit IDs rather than by index into frames
...
array
2018-02-08 15:31:45 +00:00
Steve Sanderson
83fa72bc7e
Have RenderTreeDiff build its own array of referenced frames rather than pointing to the latest render tree
...
This is in preparation for supporting multiple diffs for the same
component in a single batch (which means we can't rely on there being at
most only new render tree per component)
2018-02-07 10:27:32 +00:00
Steve Sanderson
c81d537ea3
Pass entire RenderBatch to JS side in one call
2018-01-29 21:43:49 +00:00
Steve Sanderson
080e6395cb
Move to batched rendering
2018-01-29 20:16:42 +00:00
Steve Sanderson
27d0ce4da9
Begin differentiating between rendering as a new batch on in an existing batch (even though batches don't exist yet)
2018-01-29 16:47:52 +00:00
Steve Sanderson
0aa164073d
Rename Microsoft.Blazor.* -> Microsoft.AspNetCore.Blazor.* everywhere
2018-01-24 15:48:38 -08:00