Advertisement
Guest User

React meetup notes

a guest
Feb 20th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. ## Styling talk
  2. — only use inline styling when needed
  3. — to pass a style to element inline pass an object into the file
  4. — radium allows you to style react objects w/o css and offers more possibilities; it works kinda like JSX but using CSS instead of JS if that makes sense
  5. — another tool for this is style-component
  6. — people debate which one is easier to understand/use
  7.  
  8. ## Make/customize your own create-react-app tool
  9. — When an application becomes complex/depends on something else create-react-app stops being useful, but you can fork create-react-app
  10. — after forking you can modify the react-scripts to include extra frameworks/etc
  11. — This does dig deep into the backend bits of react that I don’t think flatiron covered much so ?????
  12. — important to merge in new updates after doing this to fix vulnerabilities etc
  13.  
  14. ## React native on android
  15. — talk about pros and cons of react native
  16. — React native lets you use JS to create native mobile apps, you can also use UI elements from website and put on mobile app with a small amount of effort
  17. — react native lets one dev team do both iOS, Android and Web
  18. — android can be more finicky when doing react native (jsx issues, animations can be off, react native is developed with ‘iOS first’ philosophy often)
  19. — styling android has issues, especially for tablets
  20. — however, react native does let you move faster, and write code once instead of twice and overall improves the developer experience
  21. — react native isnt meant to replace native development entirely; especially for performance and software-hardware interaction but it can do a lot
  22. — start with android first if you do a cross-platform react native app because you can get away with a lot more in iOS react native
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement