PlutoHooks.jl

Get hooked on Pluto!
Author JuliaPluto
Popularity
23 Stars
Updated Last
6 Months Ago
Started In
October 2021

tikz_networks-1

PlutoHooks.jl

Get hooked on Pluto! Bring your notebook to life! This is an abstraction based on React.js Hooks to implement "react-like" features in Pluto.jl. It allows code cells to carry information and processes between updates, and even update themselves. The PlutoHooks macros are used as a foundation for the higher-level utilities in PlutoLinks.jl. The source code is written as a Pluto notebook, which also serves as package documentation.

There is a lot you can do with this, but some examples:

  • Maintain state between cell evaluations.
  • Run a process and relay its output to the rest of your notebook.
  • Watch a file and reload the content when it changes.
  • Do a computation on separate thread while the rest of notebook continue running.

This requires using Pluto with a version higher than 0.17.2.

Required Packages

No packages found.