Preheat oven to 350°F and line two large baking sheets with parchment paper.
In a large bowl, whisk together flour, salt, and baking soda until well combined.
2 cups all-purpose flour, ½ teaspoon salt, 1 teaspoon baking soda
In a stand mixer with a paddle attachment (or using a handheld mixer), beat butter and sugars on medium speed for about 3 minutes, until light and fluffy.
¾ cup unsalted butter softened, ½ cup light brown sugar, ½ cup granulated sugar
Mix in egg and vanilla extract on low speed until just combined. Scrape down the sides of the bowl and mix again to ensure everything is incorporated.
1 large egg, 1 teaspoon vanilla extract or paste
Gradually add flour mixture to the butter mixture, mixing until almost combined. Scrape down the bowl, then fold in shredded coconut and mix on low until just combined.
1¾ cups shredded sweetened coconut
Use a cookie scoop or two spoons to form cookies, about 2 tablespoons each. Place on the prepared baking sheets, leaving about 2 inches of space between each for spreading.
Bake for 10 to 12 minutes, or until edges are lightly golden and set, and tops look dry. Let cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.