Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration of jsx files to tsx 1 #848

Merged
merged 13 commits into from
Dec 21, 2023
Merged

Migration of jsx files to tsx 1 #848

merged 13 commits into from
Dec 21, 2023

Conversation

HarelM
Copy link
Collaborator

@HarelM HarelM commented Dec 21, 2023

In this PR I have changed some of the jsx files to tsx file.
I'm starting off with the "leafs" so that migration of the rest will be easier, hopefully.

What I'm basically doing is taking a jsx file, copy paste it into:
https://mskelton.dev/ratchet

And after that I'm fixing the types as needed.
It's not a very long process.

Hopefully more PRs will follow and this will be over soon.
I don't plan to migrate the storybook as I generally don't understand why is it useful, I'll open an issue to see if anyone thinks differently.

Copy link

codesandbox-ci bot commented Dec 21, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c7c1139:

Sandbox Source
maputnik Configuration

@HarelM HarelM mentioned this pull request Dec 21, 2023
@HarelM HarelM requested review from birkskyum and nyurik December 21, 2023 10:01
@HarelM HarelM changed the title Initial migration of jsx files Migration of jsx files to tsx Dec 21, 2023
@HarelM
Copy link
Collaborator Author

HarelM commented Dec 21, 2023

Thanks!! I'll continue to push this forward in another PR to reduce re-reviewing.

@HarelM HarelM changed the title Migration of jsx files to tsx Migration of jsx files to tsx 1 Dec 21, 2023
@HarelM HarelM merged commit fa182e6 into maplibre:main Dec 21, 2023
8 checks passed
HarelM added a commit that referenced this pull request Dec 22, 2023
This is to continue the work of migrating all the jsx files into tsx
files.
The MO is basically described here: #848.

About 7 files to go...
@HarelM HarelM deleted the typescript3 branch December 22, 2023 21:34
HarelM added a commit that referenced this pull request Dec 25, 2023
This is in continue to:
- #850
- #848

The last files should be converted as part of this PR, there are only a
handful left.
HarelM added a commit that referenced this pull request Feb 7, 2024
Fixes #870

- #870

This regression bug was introduced as part of the refactoring of
typescript.
Here:
- #848

I've added tests to cover the scenario so that it won't happen again,
hopefully.
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.

2 participants