Skip to content

Idea: Isolate variables from cell dependencies #1706

Discussion options

You must be logged in to vote

The Wiki states that

In Pluto, assignments to values (e.g. a = 1) will 'trigger' reactivity, but assignments to properties (e.g. a.start = 2 or a[5] = 3) will not. This means that you can use a Ref (docs) to create 'non-reactive' variables.

Does this mean that a Ref() can solve this?
(I could not make it work by *randomly wrapping variables in Ref() 🤷 )

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@JohannesNE
Comment options

@MichaelHatherly
Comment options

@fonsp
Comment options

Comment options

You must be logged in to vote
3 replies
@MichaelHatherly
Comment options

@JohannesNE
Comment options

@fonsp
Comment options

Answer selected by fonsp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reactivity The Pluto programming paradigm
3 participants