DEV Community

Discussion on: What do you think of React Testing Library?

Collapse
 
acostalima profile image
AndrĂ© Costa Lima • Edited

I believe the #discuss tag is normally used for that. đŸ˜‰

Collapse
 
bdbch profile image
bdbch

Can you exclude this tag when you want to fetch it via the articles endpoint?

I'd like to integrate dev.to into my website instead of medium but wouldn't like to see my discussion posts in there. :)

Sure could filter out on my side, but that would break the pagination.

Thread Thread
 
acostalima profile image
André Costa Lima

Not sure. I haven't used the API yet. Maybe the docs can provide you a hint. đŸ‘Œ

Thread Thread
 
kenbellows profile image
Ken Bellows • Edited

@bdbch if you're just trying to page through your own articles, you can probably just pull in the whole dang list and do whatever sorting and paging you want on the client. You'd have to write a ton of articles for that to be a problem. Different story if you're pulling more that just your own, but in that case you'll probably have a more specific query anyway

Thread Thread
 
bdbch profile image
bdbch

Thats true, guess thats the best way to go from here on! :)