cvdlab / react-planner

:pencil2: A React Component for plans design. Draw a 2D floorplan and navigate it in 3D mode.
https://cvdlab.github.io/react-planner
MIT License
1.3k stars 462 forks source link

Updating app with functional components and hooks #251

Open Vikms95 opened 1 year ago

Vikms95 commented 1 year ago

Currently migrating this app from class to functional components.

This app uses the React legacy context API which was compatible with React-Redux 5.x. Because of that, components that use the context supplied cannot receive the context when written as functional components. Tried migrating React-Redux to a higher version, which required to modify the context to the newer API, but with no luck.

Any ideas on how to find a solution for this?

MeTaNoV commented 1 year ago

I migrated this project to latest React to be used in a Next.js app. We will probably open source our fork soon. Tell me if you wanna help and test it out?

yangxyo commented 1 year ago

I migrated this project to latest React to be used in a Next.js app. We will probably open source our fork soon. Tell me if you wanna help and test it out?

I'm interested.

test-user1-IIO commented 11 months ago

@MeTaNoV I want to help and test this out :) how can we connect on this because I am doing a similar task...

MeTaNoV commented 11 months ago

@test-user1-IIO you can take a look at this fork: https://github.com/Luccid-ai/react-planner

sadly, I am not currently actively working on it, but it provides a good base to work with!