Skip to content

Conversation

@davesnx
Copy link
Member

@davesnx davesnx commented Nov 20, 2024

Depends on #862 that depends on #859, that depends on #846

Minimalist and spiritual successor of #848

Fix #843

Took the chance to cleanup all raise Invalid_argument into Location.raise_errorf (which isn't ideal from the ppxlib standpoint, since it fails a Parseetree generation and only shows one error) but the refactor to this is massive

@davesnx davesnx changed the title Add test for error on key Remove raise annotations and fix locations on errors Nov 20, 2024
Copy link
Collaborator

@jchavarri jchavarri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. But why does it depend on all those other PRs? Seems that it could be implemented based on main directly?

Base automatically changed from ref-as-valid-prop to 19 November 25, 2024 18:01
@davesnx davesnx changed the base branch from 19 to main November 25, 2024 18:09
@davesnx davesnx force-pushed the remove-raises-as-annotations branch from 9857fc3 to 55071e6 Compare November 25, 2024 18:12
@davesnx
Copy link
Member Author

davesnx commented Nov 25, 2024

Made it depend on #main @jchavarri

Deleted the test that ensures ref works, since it come in #846 (and depends on ReactTestingLibrary dependency)

@davesnx davesnx merged commit f83f216 into main Nov 25, 2024
3 checks passed
@davesnx davesnx deleted the remove-raises-as-annotations branch November 25, 2024 18:27
davesnx added a commit that referenced this pull request Nov 25, 2024
* 'main' of github.com:/reasonml/reason-react:
  Remove raise annotations and fix locations on errors (#863)
  ppx: support "custom children" in uppercase components without having to wrap in array literal (#823)
davesnx added a commit to davesnx/opam-repository that referenced this pull request Jul 22, 2025
CHANGES:

* FEATURE: add color to domProps (@tatchi in reasonml/reason-react#871)
* BREAKING: Support for React 19 (@davesnx in reasonml/reason-react#846)
* DOCS: Documentation updates for 0.16 (@davesnx in reasonml/reason-react#864)
* INFRA: Update deps (@johnhaley81 in reasonml/reason-react#876)
* INFRA: update setup-ocaml to v3 (@anmonteiro in reasonml/reason-react#878)
* FIX: Remove raise annotations and fix locations on errors (@davesnx reasonml/reason-react#863)
* FIX: type of pipeable stream to allow objects with keys (@anmonteiro in reasonml/reason-react#854)
* FEATURE: Add `preconnect`, `prefetchDNS`, `preinit`, `preinitModule`, `preload` and `preloadModule` in ReactDOM.Experimental (@r17x in reasonml/reason-react#849)
* BREAKING: Make lowerbound be Melange 5.1 (due to Js.FormData.t usage)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Very misleading error message if you misuse [@react.component]

3 participants