woonki

Results 57 issues of woonki

I found the critical error during the thorough test for V10. ``` Warning: Functions are not valid as a React child. This may happen if you return a Component instead...

This PR introduces the new `Jsx` module in the compiler. This is an initial proposal stage that has objectives and constraints as below. * Adding The new jsx transform APIs...

I'd like to add the logo of [Greenlabs](https://greenlabs.co.kr) in (fantastic) users.

The reason to rewrite the client in ReScript seems pretty obvious to me. It will help us to get a more concrete and more manageable client application. Any plan for...

It is found that the attribute `@JSX` makes the printer function preserve the JSX expression. https://github.com/rescript-lang/syntax/issues/539#issuecomment-1186403650 Changing the JSX PPX to keep the `@JSX` attribute after transformation, it prints as...

Feedback from the forum for JSX v4 https://forum.rescript-lang.org/t/call-for-help-test-the-react-jsx-v4/3713 #### Fixes * [x] Formatting `{...str}` to `spreadProps=str` * [ ] Spread props without any other props https://github.com/rescript-lang/syntax/pull/645 * [x] Not passing...

This PR fixes #5598 The exception thrown by `JSON.stringify` will be handled with try-with, instead of renaming it. The renaming would cause a breaking change, so we won't do that....

`Js.Json.stringifyAny` has a chance to throw an exception, `TypeError`. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#exceptions ```rescript Js.Json.stringifyAny: 'a => option ``` I think it is better to rename it to `stringifyAnyExn` or to wrap it...

Regarding issue https://github.com/rescript-lang/rescript-compiler/issues/5735 This PR improves the parsing and printing attributes of functions and arguments so that it makes the implementation simple and clear for future development extensibility.

references https://github.com/rescript-association/reanalyze/blob/master/dead-code-ppx/DeadCodePPX.ml https://github.com/rescript-lang/syntax/blob/master/cli/reactjs_jsx_ppx_v3.ml It will help to remove the deps to ppxlib.