react-gears icon indicating copy to clipboard operation
react-gears copied to clipboard

feat: add HasManyFields2

Open jupp0r opened this issue 3 years ago • 4 comments
trafficstars

This change adds HasManyfields2, a successor to HasManyFields that is more composable and easier to integrate with state management libraries like mobx and easier to adopt to server-side rendering and dynamic hydration (compared to HasManyfields).

jupp0r avatar Nov 05 '22 00:11 jupp0r

Released prerelease version 7.9.1-has-many-pains-with-tooltips-9d2cc4c.0. You may now run npm install @appfolio/react-gears@has-many-pains-with-tooltips

github-actions[bot] avatar Nov 05 '22 00:11 github-actions[bot]

Might this be more appropriate over in react-libs (the 'components' project within that monorepo).

aaronmars avatar Nov 08 '22 22:11 aaronmars

Might this be more appropriate over in react-libs (the 'components' project within that monorepo).

You tell me :) what's the plan for adoption of react-libs? Can somebody use it right now it APM? People have been asking for HasManyFields2 in APM a few times and it took us pretty long to get this ready, so it would be great if people could start using it. Having it in both might also be an option?

jupp0r avatar Nov 09 '22 16:11 jupp0r

Can somebody use it right now it APM?

For sure! I have yet to do it, but I'm in the middle of the first migration of react-gears List to react-components List. The library should be all ready to go, though. One benefit (if you choose to exercise it) is that you can keep the name as HasManyFields since it's in a completely new library. I can definitely help with the move from react-gears to react-components

aaronmars avatar Nov 09 '22 18:11 aaronmars