DEV Community


Posted on

Airtable API Component structure.

I have my Airtable in a “MainAPI.JS” file, it’s not in my APP.js, I don’t want the products on “every” page. Sooo does that mean I should have it on the “page” instead of the App.js?

I have a MainAPI.js then I have FishAPI.js and CoralAPI.js for the “objects” to loop through. So, do I add the connection to the takes on the “page” that it’s for?

Instead of the App.js?

Top comments (0)