I've used the REPL embed feature to include some examples in my online Blazor course (running via WASM).
This week I've had a few reports of the REPL not loading correctly for people.
It seems to be fine for me, but here's an example of an error one person ran into:
REPL for aspnet core notifications is broken, it runs on first load and then fails to do anything if I change even a single character and then try to run it again
Not sure that link will work but I'm talking about the notification that shows email message, error message and upload success
I'm seeing message in dev tools about 'isMobile is not defined'
Running in Windows 10, latest version of Edge OR latest version of Chrome
We want to track the community's interest in allowing users to add .css and .js files inside the projects and use them from the .razor files. Please add your vote if this is a feature you'd like us to add to the REPL tool.
Hello! When I try to populate a grid with data I can only get it to show the data if I don't use a nested object. For example:
An object like this I'd assume I could access by adding a grid column like this:
When I do it this way however nothing shows up although all items do load into the grid, they just don't show any text.
To make it show text I can only use the first level of properties in the object:
In this case I'd see the data in this property on the table.
Is this a bug or intended functionality?
We are researching if hot reload can be used in REPL and whether it will affect its performance.
We want to evaluate the community's interest and feedback in this regard. Please vote for this item if you'd like us to add a hot reload feature. Please also share your thoughts on whether it should be enabled by default or if you'd prefer to have the ability to toggle it when needed.
We are researching possible options for adding an autocomplete feature for the REPL Editor.
We want to evaluate the community's interest and feedback in this regard. Please vote for this item if you'd like us to add autocomplete feature and share your thoughts and expectations considering the following possible options:
At this point, we provide only compile-time errors in the Error List. The runtime errors are not caught and they are going directly into the browser console.
We want to track the community's interest in having a console for runtime errors. Please add your vote if this is a feature you'd like us to add to the REPL tool.
Existing REPLs do not compile and run any more.
Here is one simple example. and the error messages you get when you try to save/run
|CS0246||The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)||__Main.razor||22|
|CS0246||The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)||__Main.razor||23|
|CS0246||The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)||__Main.razor||24|
If the plan is to encourage more widespread use of the REPL, promoting its role as a "go to" destination to prototype and share Blazor code, I wonder if there's scope for an option to toggle Telerik UI off.
I mean, I get why you'd want that on by default…
But I'm keen to use the REPL to embed "runnable" examples in blog posts and often need to share examples that use plain old CSS, or something like Tailwind (or indeed Bootstrap).
In those scenarios I don't really need the default theme/styles that come with Telerik UI (and they could clash with the styles I am trying to use).
Just a thought :)
I sometimes have a few repl tabs open to compare results. At the end when I am satisfied I often need just one, and closing the others in bulk is quite annoying as I keep getting interrupted by the window.oneforeunload prompt.
This setting should be somewhere in the UI and should save in the browser local storage so all my repl tabs can use it from the same place. I would prefer that over a cookie or non-persistent setting.
I want to be able to use NuGET library that dynamically imports ES6 modules in REPL.
Here is example of such REPL:
I included a nuget package, but the code will not compile because it can't find the package symbols.