I'm using Laravel localization. - https://laravel.com/docs/5.6/localizationI also use react component in the blade view.Now i wish to use localization in my react component like this
return(<button className="btn"> {{ __('messages.welcome') }}</button>)
How can I make the react component call the translation?