xander18 / MapBoxShowDirection

Exemple of MapBox Direction with React Native
14 stars 11 forks source link

Example without using Hooks. #3

Closed nzrin closed 4 years ago

nzrin commented 4 years ago

Hi, can you provide sample .js file without using hooks? Perhaps like this using class :

class MapBoxShowDirection extends Component {

Please?

xander18 commented 4 years ago

i'll find some time this week to make it

xander18 commented 4 years ago

Hi, can you provide sample .js file without using hooks? Perhaps like this using class :

class MapBoxShowDirection extends Component {

Please?

remind me this week i'll got the time to make it sorry for the late answer i was overbooked

nzrin commented 4 years ago

Okay sure.

xander18 commented 4 years ago

Okay sure.

i pushed as asked a Class Component called AppClass.js just replace in index the import by AppClass instead of App

nzrin commented 4 years ago

I've tried this code without hooks but it doesnt work. It seems drawPath doesn't even triggered. Please help.

Polyrion commented 4 years ago

I've tried this code without hooks but it doesnt work. It seems drawPath doesn't even triggered. Please help.

@nzrin could you show me your code or join the discord https://discord.gg/vBBBgW thx u