Code Monkey home page Code Monkey logo

Comments (5)

EricSimons avatar EricSimons commented on August 15, 2024 7

@jbucaran thanks for the kind words! And absolutely — ability to edit TSConfig/etc should be landing soon, so that should allow you to do this: microsoft/TypeScript#9582 (comment)

Will circle back once we open up editing of TSConfig! 👍

from core.

Hakuz avatar Hakuz commented on August 15, 2024 2

Looks like this adding /** @jsx h */ before import is working now. So if you're getting the react is not defined please do this.

/** @jsx h */ 
import { h, app } from 'hyperapp'

from core.

loreanvictor avatar loreanvictor commented on August 15, 2024

So currently I can add a tsconfig.json to the root folder and configure the custom JSX factory that way. With this setup, the code is properly transpiled and loaded in the preview window, however the IDE apparently does not pick up the changes and still looks for React. Adding /** @jsx ... */ on top of each file resolves that particular inconvenience as well.

Any status update on this issue?

from core.

purplem1lk avatar purplem1lk commented on August 15, 2024

Thank you for your patience - We are launching new core technology into beta next month that should resolve this issue so this will be closed accordingly. If this issue persists, feel free to tag me or ask to reopen this issue with screenshots of the error. Thank you! :)

from core.

OlaoluwaM avatar OlaoluwaM commented on August 15, 2024

@purplem1lk seems like the issue persists even after adding a custom tsconfig.json

image

tsconfig.json

image

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.