If you haven't already, cook the sweet potatoes. I like to microwave them because it's fastest. Preheat oven to 350° and line an 8x8 baking pan with parchment paper, leaving a 1" overhang. Spray the sides with nonstick spray. Also, make the flax eggs: stir the ground flaxseed and water together in a small bowl, then let it sit for 5-10 minutes.
Start by making the crust/topping: stir almond flour, coconut flour, brown sugar, baking powder, and salt together in a large bowl. Then, pour in the butter and flax eggs and stir to combine. The mixture should be somewhat crumbly, but stick together when you pinch it.
Spoon about ¾ of the mixture into the prepared pan, using your hands to press it down.
Next, make the filling: spoon the cooked sweet potato into a medium sized bowl, then use a potato masher to mash it, removing as many lumps as possible. Then, spoon it into a measuring cup to make sure it measures 1 ¼ cups.
Place the mashed sweet potatoes back into the bowl, then add the maple syrup, cane sugar, cinnamon, vanilla, and salt and stir to combine.
Spoon the filling over the crust, using the back of a spoon to smooth it out. Then use your hands to sprinkle the rest of the crumb mixture overtop, along with the pecans if using.
Place the bars in the oven and bake them for 25 minutes. Remove them and place the pan on a cooling rack. Allow the bars to cool in the pan, then pull on the parchment paper to remove them. Slice and enjoy!