Community forum for knowledge and support

Updated 4 months ago

Seeking Global QoL Files for React Library to Simplify Development

At a glance

The community member is requesting global QoL (Quality of Life) files for the React library, such as global type files, prop files, and barrel files, to make their workflow more efficient. They also suggest that the React team task an intern with adding code flags to indicate where types, props, and return functions are being used, as this would enable more standardized and scriptable programmatic editing. The community member's goal is to programmatically link all 1300 unique components in their project to a headless CMS like Payload, which they believe would provide capabilities for automated content marketing.

I don’t suppose there’s any way we can get some global QoL files for the React Library?

Global type files, prop files, barrel files, etc would all be massive for such a large library.

Also, if you guys would task an intern with taking the time to add code flags to the places where you’re adding types, props, return function, etc it would make global programmatic editing much easier since those can be standardized and searched for when scripting. Otherwise with different component structures I’m having to try and string together a frankenstein API script using the typescript compiler that hurts my brain.

My end goal is am trying to neatly link all the components to a headless CMS like Payload, only issue is I’m trying to do it programmatically, hence all the global edits. Probably a dumb workflow, but 1300 unique components in a headless CMS that are ready to go adds a lot of capabilities for automated content marketing

Add a reply
Sign up and join the conversation on Slack