Questions tagged [reactive]
The reactive tag refers to a variable type and environment used inside Shiny applications based in the R programming language. Reactive elements are dynamic and changing over time usually due to user input to the Shiny application. This tag should be used with questions and errors regarding how to refresh, update, assign, and access user inputs into Shiny. The reactive tag is to be used in conjunction with the r and shiny tag.
reactive
142
questions
9
votes
3
answers
11k
views
What's the point of .switchIfEmpty() getting evaluated eagerly?
Even if my stream is not empty, the fallback stream would always be created? What's the intent behind doing this? This is extremely non-idiomatic.
On the other hand, .onErrorResume is evaluated ...
6
votes
0
answers
1k
views
Shiny app: nothing changes when clicking on action button
Building on multiple stackoverflow questions, I tried to build this app which contains two action buttons the first one shows a data table the second one should open another sourced app but actually, ...
229
votes
10
answers
70k
views
When to use RxJava in Android and when to use LiveData from Android Architectural Components?
I am not getting the reason to use RxJava in Android and LiveData from Android Architectural Components.It would be really helpful if the usecases and differences between the both are explained along ...
31
votes
4
answers
23k
views
ReactiveCrudRepository to use Hibernate in spring
Is it possible to use Hibernate and RDBMS(Mysql, Postgres etc) with ReactiveCrudRepository instead of CrudRepository? I have tried some samples with Spring Data Jpa and Hibernate, but couldn't get it ...
9
votes
3
answers
21k
views
Reactive WebClient GET Request with text/html response
Currently I’m having an issue with new Spring 5 WebClient and I need some help to sort it out.
The issue is:
I request some url that returns json response with content type text/html;charset=utf-8.
...
100
votes
6
answers
56k
views
An equivalent to computed properties using @Published in Swift Combine?
In imperative Swift, it is common to use computed properties to provide convenient access to data without duplicating state.
Let's say I have this class made for imperative MVC use:
class ...
35
votes
4
answers
69k
views
Vue change object in array and trigger reactivity
How can I trigger an update when altering part of an object found by index in an array?
The docs show how to alter the value of an array:
Vue.set(example1.items, indexOfItem, newValue)
or
example1....
3
votes
2
answers
9k
views
RxJS: JSON data with an array, processing each item further in the stream
I receive a HTTP response, which contains, if all goes well, a single array, coded as JSON.
I want to get this array, filter out some items, and process the passing items as events.
What I do so far ...
2
votes
1
answer
6k
views
For loop inside reactive function in Shiny
I met a problem with for loop in Shiny server and no one can find out how to fix it till now. I have been working on this for days but still didn't get any progress. Long story short, please just look ...
0
votes
1
answer
1k
views
Dispatch a blocking service in a Reactive REST GET endpoint with Quarkus/Mutiny
Lately i've implemented a Reactive REST GET endpoint with Quarkus/Mutiny using a callback structure;
Connect MyRequestService to Reactive REST GET endpoint with Quarkus/Mutiny
After finishing, I was ...
0
votes
2
answers
2k
views
How to edit or add one row at a time using reactive forms in angular8
I have a list of data, when i click on rows, all the rows are editable and when i click on edit button of the expanded row, all the rows will have the same value as in the first row, but that shouldnt ...
59
votes
5
answers
130k
views
How to check if Mono is empty?
I'm developing a app with Spring Boot 2.0 and Kotlin using the WebFlux framework.
I want to check if a user id exits before save a transaction. I'm stucked in a simple thing like validate if a Mono ...
47
votes
2
answers
22k
views
Difference between @Controller and RouterFunction in Spring 5 WebFlux
There are two ways to expose HTTP endpoints in spring 5 now.
@Controller or @RestController by making the controller's class, e.g.
@RestController
@RequestMapping("persons")
public class ...
27
votes
2
answers
19k
views
Reactive Spring WebClient - Making a SOAP call
I am looking to make a SOAP call from spring reactive webclient.
I couldn't find any documentation for it. Wondering what would the approach. Right now I am thinking
Construct the SOAP message ...
10
votes
4
answers
21k
views
Spring Reactive get body JSONObject using ServerRequest
i'm spring reactive newbie.
I am trying to use postman to get request information from the server.
First, postman sends information to the server using the post method.
Second, we've been working on ...