This PR can be summarized in the following changelog entry:
[non-user-facing] Add visualization of the tree.
Relevant technical choices:
Creating an option to build the tree every text change.
Represent it using react component: react-json-view.
Screenshots
Test instructions
This PR can be tested by following these steps:
Go to the path cd examples/webpack.
Install dependencies yarn.
Start the dev server yarn start.
Test the option Build the tree. While on it should build the tree every text change. While off it should do nothing. Turning it back on should (most of the time, there can be a timing thing with the worker results) re-build the tree.
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
react-json-view
.Screenshots
Test instructions
This PR can be tested by following these steps:
cd examples/webpack
.yarn
.yarn start
.Build the tree
. While on it should build the tree every text change. While off it should do nothing. Turning it back on should (most of the time, there can be a timing thing with the worker results) re-build the tree.Fixes #2122