junsikshim / react-pane-system

A declarative, flexible pane layout system for React projects.
MIT License
6 stars 1 forks source link

Split a pane dynamically. #24

Open junsikshim opened 4 months ago

junsikshim commented 4 months ago

dynamic-split

This is an issue to discuss how to implement splitting like the one above.

I can think of two ways,

1. It's all up to the developer.

2. Let the library handle it

I think there can be some middle ground, so let's discuss!

hchangjae commented 4 months ago

In my opinion, these functionalities should be provided by react-pane-system. However, I'm concerned about the sync with JSX elements... (I might need more time to think this through 🤔)