Skip to content

How to write a hook without consistent-components-exports warning #238

Answered by ArnaudBarre
zzswang asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah .ts should work.

I need to better understand how Fast refresh works for files with just custom hooks to maybe improve HMR for this kind of files

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ArnaudBarre
Comment options

@zzswang
Comment options

@ArnaudBarre
Comment options

Answer selected by zzswang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants