camwest / react-slot-fill

Slot & Fill component for merging React subtrees together. Portal on steroids.
https://camwest.github.io/react-slot-fill/
Other
656 stars 27 forks source link

1.0.0 Roadmap #2

Closed camwest closed 7 years ago

camwest commented 7 years ago

Themes

Engineering

Infra

Documentation

Bugs

Tech Debt

Development Experience

rogeliog commented 7 years ago

This is awesome! Thanks for putting a roadmap together... I'm happy help with any of these

maxdeviant commented 7 years ago

Super excited about this after watching your talk. Will definitely be looking to try this out in production once things are a bit more stable :smile:

bondz commented 7 years ago

Partial to Typescript as well, its integration with VSCode and other editors is stellar and makes the development experience much better. As this is a library though, the typings are the only thing required to use it with a tsx project. I'm sure there are tools to create typings automatically for TypeScript or Flow whichever you chose.

ggarek commented 7 years ago

Awesome initiative, i will definitely keep a close look on the library development! And i like the talk on React Conf 👍

Regarding the types, i think it is really a must have overall and for this kind of library for sure. It is a lifesaver in a long perspective. Personally i like TS more, and i really think that there should be only one typing system over there. Because supporting two different type systems is not an easy task (as difficult as it is redundant and meaningless).

Sure, one could automate creating type definitions, but as to my experience (i have dealt with autogenerated type defs) the best type definitions are made and supported manually along with the project development. The earlier you start - the easier it will be. And all auto-type-generation do not yield stable usable-without-a-pain results.

I really love TS (did i say it already?) 😉 , but there is one thing to be considered. If the slot-and-fill lib is meant to be used with React Native (which would be really awesome, and must be thought of, imo. Especially now, when it is not only about ios/android but it is also about desktops!) then users will have to do with two type systems in one project, because RN uses Flow. But i still hope the TS will win, and may be RN will switch to TS xD (not going to happen apparently).

camwest commented 7 years ago

Ok TypeScript sounds fine to me.

camwest commented 7 years ago

FYI #10 has initial typescript conversion.

slorber commented 5 years ago

hi

Just wondering if anyone ever used this in a RN projet? I dont see any react-dom dependency/peerDependency but it seems react-dom is used in code. Can this lib be made RN compatible?