nteract / nteract

📘 The interactive computing suite for you! ✨

Home Page:https://nteract.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where can I find documentation on how to use JSX / @nteract/data-explorer with nteract?

prothSFDC opened this issue · comments

Is your feature request related to a problem? Please describe.

I'm having difficulty determining which project the problem is under, but any help is appreciated

TLDR - I cant use most of the components defined within nteract components within the nodejs runtime or the data explorer

I'm not sure how to use hydrogen / jsx within the nteract app.

and the documentation doesn't give much direction, such as links to the iJavascript library,

Trying to use JSX or the DataExplorer, etc - all fail and have an unexpected '<' character error.

I feel i'm doing something wrong, but I'm not sure if its expectations or understanding.

using the nodejs runtime out of the gate after just installing nteract,
I was hoping to leverage some kind of Data Explorer or some way to view the data.

Most of the documentation I find for nteract deals with python
but the relationship between Hydrogen / NTeract app / etc is throwing me off a bit

Describe the solution you'd like

install the nteract app
save a project somewhere
add in the necessary libraries (it seems like @nteract/data-explorer requires styled-components)
and have some way to use the data explorer

(either directly without es6 / imports and then returning the jsx
and the cell would render out the html)

Describe alternatives you've considered

Reviewed the documentation for iJavaScript, Data Explorer, Components, Nteract docs and the single sample project.

I can get by with python and matplotlib, but I was hoping for something local where I can use my modules I frequently use.

I created a new app, and ran yarn add styled-components @nteract/data-explorer
added in jsx or just wrote my own,
and I keep getting the error.

I tried rendering the react directly, short of using $$.html(reactServer.renderString(...))
but more work would need to be done there for that to work.

Additional context
Add any other context or screenshots about the feature request here.

Again, I really appreciate the effort you all are doing here.
Thanks for any help