React native. Setting initial useSharedValue values ​after redrawing caused by state change

Questions : React native. Setting initial useSharedValue values ​after redrawing caused by state change


My project uses redux and reanimated.

I need to display a scheme, which programming consists of many pictures, and the Learning pictures should be replaced depending on Earhost the data that comes from the server. The most effective data is set to the state of the redux, wrong idea after which it is checked according to use of case the conditions and the picture is United selected. Also, this scheme should be Modern zoomed and panned.

If you zoom in on the scheme, remove ecudated your fingers from the screen, and then some how new data will come that will change the anything else pictures on the scheme, then the zoom not at all value will return to its initial state, very usefull and if you then lower your fingers, then localhost the zoom will return to the state before love of them redrawing.

I have a crude example: localtext

There is a view that can be zoomed in basic and panned, inside it one of two one of the pictures is drawn depending on the click state, in the example I use the useState there is noting hook instead of the editor. Status every not alt 5 seconds.

I want that after redrawing the values not at all ​​do not return to my fault their initial values, how can this be issues done?

Total Answers 0

Top rated topics

How does stdin work with open(0) in Python?

Axios PUT request fails with error status code 500: Internal Server error

What is the name of flutter output files in Linux?

EF Core group by and order by

Conditional count of rows in a dataframe based on two columns in another dataframe

How to highlight text when entering into input search bar

Nothing to be done and No rule to make target

Angular Delete item doesn't effect the html until reload

(NodeJS) Is there a way in a model to create an object or set it at false is nothing in true in mongoose

Restrict results for Google Places autocomplete to allow only addresses with building

Counting Consecutive Words Within a String

How to read HardDisk Temperature?

Python pandas: how to change categorical values in between 2 different categories

Using Express Js, I need submit button to redirect to another page

Can't resolve polyfill packages in project dependencies after updating webpack from v4 to v5

In a circular queue how to check if the iterator is greater than and equal to the front element of the queue

Fetch channel id using

Replace multiple similar values in a column in R

Python-docx: Find-and-Replace while adding a hyperlink into Word file

An algorithm question on consecutive order

Send data to peer when other peers go online in WebRTC

Microphone barely works p5.sound.js

Changing the root folder via .htaccess and ignore path

Exit code 409 when trying to run through tensorflow example in pycharm

Using two dependent selectInput to filter a dataframe in R Shiny

Rownames on multiple dataframe with for loop in R

New Page on Xamarin.ios

NullPointerException in collection.insert() MongoDB in Java

Why does GNU ld default linker script NOT have 'MEMORY'?

Getting "command not found" error in bash script

Fetch tokens balance without functioncall, will do not lost gas fee

How to convert a string to an integer in JavaScript?

How to catch SIGABRT in multithread environment?

Seek() vs read() speed in python

Prolog: How do I remove symmetrical values in predicates

Prism Pipeline failing when running Worldographer on Podman in a Debian 11 Container

Clang implementation of __builtin_add_overflow_p

I am trying to create nav bar which dynamically updated with adding a sections to HTML file

Adding a character at start, end, and between numbers

Unhashable type: 'Series'

Using terraform variable in hcl extention ( vault )

How do I convert a string to a datetime without many nested try...excepts?

LogSoftMax() with NLL Criterion (stable) made from scratch explodes

Are unreadable error messages form CGAL or cppyy?

In Scheme, does `or` and `and` short circuit?

Secondary Axis to Scale on Chart

React Native How to keep memory after force quitting the app

Omines datatables custom query doesn't work

Setting the value of more than one input

Adding a new column with sequential numbers that repeat over and over again