Skip to main content

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.

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 ...
rahul66's user avatar
  • 2,413
190 votes
20 answers
244k views

How to find the invalid controls in Angular(v2 onwards) reactive form

I have a reactive form in Angular like below: this.AddCustomerForm = this.formBuilder.group({ Firstname: ['', Validators.required], Lastname: ['', Validators.required], Email: ['', ...
sa_'s user avatar
  • 2,954
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 ...
rberggreen's user avatar
  • 1,103
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 ...
voliveira89's user avatar
  • 1,224
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 ...
Deepak Kumar's user avatar
  • 1,669
39 votes
3 answers
18k views

Websockets vs Reactive sockets

I have recently come across a term 'Reactive sockets'. Up until this point, I used to think websockets are the way to go for full fledged asynchronous style. So what are reactive sockets. This link (...
Arunkumar Srisailapathi's user avatar
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....
shanemgrey's user avatar
  • 2,348
31 votes
4 answers
66k views

Props gotten directly from vue 3 setup are not reactive

I am writing an application in vuejs and i want to pass prop to a child component but I am getting this error: Getting a value from the props in root scope of setup() will cause the value to lose ...
etranz's user avatar
  • 1,201
31 votes
4 answers
39k views

Spring WebFlux throws 'producer' type is unknow when I return value in the response body

I'm using Spring Boot with Kotlin, and now trying to get status value from a GET restful service by passing a handler for a reactive service. I can see that the handler I'm passing is in the request, ...
hasan.alkhatib's user avatar
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 ...
Thomson Ignesious's user avatar
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 ...
Faisal Masood's user avatar
26 votes
2 answers
96k views

PrematureCloseException: Connection prematurely closed

I'm using Web-flux/Reactive and Webclient, running it on Tomcat and spring-boot. Everything works fine. I read a lot about it. The problem seems to be that whenever you use Webclient, you have to ...
Douglas Santos's user avatar
25 votes
1 answer
13k views

Should we use a reactive-stack web framework like spring webflux when we have blocking calls?

I'm trying to understand when we would use a reactive-stack framework like webflux. I've read articles that seems to suggest that we would benefit from reactive approach when we have many blocking ...
pcatre's user avatar
  • 1,614
21 votes
3 answers
30k views

Is it possible to get the first element from flux without converting flux into stream?

Is it possible to get the first element from flux without converting flux into stream?
Dil1y_reddy's user avatar
18 votes
2 answers
9k views

Why does Spring not provide reactive (non-blocking) clients for relational databases?

I've used Vert.x toolkit for creating reactive applications with support for relational DBs like MySQL and Postgres. I know Spring provides reactive support for some NoSQL DBs like Cassandra and Mongo ...
Mohamed Ibrahim Elsayed's user avatar

15 30 50 per page
1
2 3 4 5
141