question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `<template functional>` syntax to section about functional components

See original GitHub issue

Functional components are discussed here and according to this announcement we can now do

<template functional> instead of functional: true.

I think the docs should include this. I can make this PR later this week if the team is happy with this idea.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lmiller1990commented, Dec 1, 2017

Sure! Great to hear. I’ll make the PR this weekend.

Thanks for your quick response, no wonder Vue has the best documentation of any framework I’ve used.

1reaction
chrisvfritzcommented, Nov 30, 2017

Just a misunderstanding. 🙂 We’re on the same page actually (no pun intended). When I said “that page” I was referring to the one you linked to in your original post, which is the render functions page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Components and Props - React
Components let you split the UI into independent, reusable pieces, and think about each piece in isolation. This page provides an introduction to...
Read more >
How to Use Functional Components in React - freeCodeCamp
To answer, it is as simple as creating a function returning an HTML-like syntax. import React from 'react'; function Counter({n}) { return (...
Read more >
Creating a Functional Component in Vue.JS | Jscrambler Blog
In this article, you will learn how to create functional components in Vue.js.
Read more >
React Function Components
This in-depth guide shows you everything about React Function Components -- which are basically just JavaScript Functions being React Components ...
Read more >
Building Controlled Forms Using Functional Components in ...
The basic syntax for using the useState hook is as follows: const [state, setState] = useState(); On the left hand side, 'state' is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found