MailOnline / libreact

NO LONGER MAINTAINED - SEE https://github.com/streamich/libreact INSTEAD
The Unlicense
97 stars 6 forks source link

feat: improve <AfterDraf> #73

Closed streamich closed 6 years ago

streamich commented 6 years ago

Make <AfterDraf> work on server. As well as allow users to create their custom <AfterDraf>s, which wait for DRAF only a given number of times, for example, to prevent FOUC, your component needs to wait for DRAF only for the first time but subsequent re-renders can render children synchronously.