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

Create a shared React component subpackage #19

Open
8 tasks
ozhanefemeral opened this issue Jul 28, 2024 · 4 comments
Open
8 tasks

Create a shared React component subpackage #19

ozhanefemeral opened this issue Jul 28, 2024 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ozhanefemeral
Copy link
Owner

We need to migrate to a shared component package instead of developing components/hooks in the Next.js app. This way, we can use these pieces across any React environment, SPA, Remix or {insert technology}

The new package, @visual-ts/react-components, will contain the reusable components and hooks currently used in our Next.js app (and the ones we will create in the future 😄 )
Checklist:

  • Create a new subpackage in /packages (let's call it @visual-ts/react-components)
  • Set up TypeScript config for the new subpackage
  • Configure ESLint for the new subpackage
  • Set up Tailwind for the new subpackage
  • Move relevant components and hooks from the Next.js app to the new subpackage
  • Update package.json to include the new subpackage as a dependency
  • Update imports in the Next.js app to use the new subpackage
  • Test to ensure everything still works in the Next.js app
@ozhanefemeral ozhanefemeral added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 28, 2024
@Rajiv620019
Copy link

Can I work on this?

@Rajiv620019
Copy link

Hey, I'm trying to setup the project locally, but looks like I'm missing some entrypoints while running bun build what exactly should I add?

@ozhanefemeral
Copy link
Owner Author

ozhanefemeral commented Jul 31, 2024

Hi, sure. bun run build should work fine. Updated the README

@ozhanefemeral ozhanefemeral pinned this issue Jul 31, 2024
@ozhanefemeral
Copy link
Owner Author

Hey @Rajiv620019

Any progress on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants