nested-observe | Object.observe for nested objects | Web Framework library
kandi X-RAY | nested-observe Summary
kandi X-RAY | nested-observe Summary
Object.observe() for nested objects.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nested-observe
nested-observe Key Features
nested-observe Examples and Code Snippets
Community Discussions
Trending Discussions on nested-observe
QUESTION
EDIT Reproducible example at the end.
I found a similar problem described here, but using reactive()
doesn't solve my issue.
I'm working on an app where users can upload files with a FileInput
, so far it can handle FASTQ and CSV files (focus on CSV here). All uploaded files are saved as RData, which can then be selected in a selectinput
where they're loaded again. This selectinput
runs basically everything, since after it is evaluated it will trigger some reactive UI to display the CSV. I also noticed when printing that when I select a new file and then select rows it still prints the rows from the previous file.
I started using Shiny this January, I first followed the tutorial on the Shiny page and I've lurked several blogs and StackOverflow questions, so I'm confident that I'm making a ton of mistakes with the reactiveness and other Shiny specific things.
The selectinput
observer:
ANSWER
Answered 2017-Mar-21 at 15:36So it turns out I was completely overthinking this.
Since the nested observe() was the problem, and trying to fix it with reactive()
and eventReactive()
and nothing working I came to the conclusion that I should just remove the observeEvent()
calls from my LoadCSV.R script, bringing the observes outside of the observeEvent that I was using to check for my selectinput()
element.
Now everything works as intended..
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nested-observe
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page